mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Add instant game launch
This commit is contained in:
parent
90f630f277
commit
97cd8aca9e
4 changed files with 24 additions and 31 deletions
|
|
@ -20,7 +20,7 @@ export const useHashLocation = () => {
|
|||
return [loc, navigate]
|
||||
}
|
||||
|
||||
export const buildPlayLinkHref = (url, theme) =>
|
||||
export const buildPlayLinkHref = ({ url, theme }) =>
|
||||
`/#/play/${theme}/${encodeURIComponent(url)}`
|
||||
|
||||
export const extractView = location => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue