Skip to content

Commit

Permalink
fix: deep linking sometimes not working when sent over messengers
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 13, 2019
1 parent 3a74b74 commit 2491d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/HistoryService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class HistoryService {
}

get currentId(): string {
return IS_BROWSER ? window.location.hash.substring(1) : '';
return IS_BROWSER ? decodeURIComponent(window.location.hash.substring(1)) : '';
}

linkForId(id: string) {
Expand Down

0 comments on commit 2491d97

Please sign in to comment.