AnguHashBlog / angular-primeng

🅰 Angular Blog Integration Template including PrimeNG: Seamlessly connects to Hashnode's APIs, effortlessly fetching and integrating your blog data. Compatible with any Hashnode blog.
https://angularprimeng.anguhashblog.com/
MIT License
11 stars 5 forks source link

Remove the `layout` component adjust routing to fix console error and conditionally render header elements #40

Closed monacodelisa closed 4 months ago

monacodelisa commented 4 months ago

Describe the solution you'd like

ERROR Error: NG04005: Invalid number of '../'
    at createPositionApplyingDoubleDots (router.mjs:996:13)
    at findStartingPositionForTargetGroup (router.mjs:986:10)
    at createUrlTreeFromSegmentGroup (router.mjs:853:20)
    at _Router.createUrlTree (router.mjs:5593:12)
    at get urlTree (router.mjs:6023:24)
    at _RouterLink.updateHref (router.mjs:5994:26)
    at _RouterLink.ngOnChanges (router.mjs:5941:12)
    at _RouterLink.rememberChangeHistoryAndInvokeOnChangesHook (core.mjs:5871:14)
    at callHookInternal (core.mjs:6117:14)
    at callHook (core.mjs:6148:9)

by doing the following: