mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding hydra shop constant
This commit is contained in:
parent
f428c522b6
commit
6e35600ffe
6 changed files with 15 additions and 9 deletions
|
@ -89,7 +89,12 @@ const handleDeepLinkPath = (uri?: string) => {
|
|||
}
|
||||
|
||||
if (url.host === "profile") {
|
||||
WindowManager.redirect(`profile${url.search}`);
|
||||
const userId = url.searchParams.get("userId");
|
||||
|
||||
if (userId) {
|
||||
WindowManager.redirect(`profile/${userId}`);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue