Themes: init

This commit is contained in:
He4eT 2021-02-19 19:08:31 +05:00
commit cbc6207ad9
9 changed files with 108 additions and 46 deletions

View file

@ -20,7 +20,7 @@ export const useHashLocation = () => {
return [loc, navigate]
}
export const buildPlayLinkHref = (url, theme = 'default') =>
export const buildPlayLinkHref = (url, theme) =>
`/#/play/${theme}/${encodeURIComponent(url)}`
export const getFileExtension = fileName =>