mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
Fix issue with share url links.
This commit is contained in:
parent
35b921bdb4
commit
6ec13aef09
3 changed files with 5 additions and 3 deletions
|
|
@ -37,6 +37,7 @@ export default function WebsiteDetails({ websiteId, token }) {
|
|||
const [eventsData, setEventsData] = useState();
|
||||
const {
|
||||
resolve,
|
||||
router,
|
||||
query: { view },
|
||||
} = usePageQuery();
|
||||
|
||||
|
|
@ -44,7 +45,7 @@ export default function WebsiteDetails({ websiteId, token }) {
|
|||
<Link
|
||||
key="back-button"
|
||||
className={styles.backButton}
|
||||
href="/website/[...id]"
|
||||
href={router.pathname}
|
||||
as={resolve({ view: undefined })}
|
||||
icon={<Arrow />}
|
||||
size="small"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue