Add instant game launch

This commit is contained in:
He4eT 2021-03-02 18:02:34 +05:00
commit 97cd8aca9e
4 changed files with 24 additions and 31 deletions

View file

@ -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 => {