Skip to content

Commit 2491d97

Browse files
committed
fix: deep linking sometimes not working when sent over messengers
1 parent 3a74b74 commit 2491d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/HistoryService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class HistoryService {
1313
}
1414

1515
get currentId(): string {
16-
return IS_BROWSER ? window.location.hash.substring(1) : '';
16+
return IS_BROWSER ? decodeURIComponent(window.location.hash.substring(1)) : '';
1717
}
1818

1919
linkForId(id: string) {

0 commit comments

Comments
 (0)