Store the UI theme in the LocalStorage

This commit is contained in:
He4eT 2021-03-24 17:09:57 +05:00
commit 7f143925ac
6 changed files with 28 additions and 25 deletions

View file

@ -5,7 +5,7 @@ import {
buildPlayLinkHref
} from '~/src/utils/utils.routing'
export default ({ name, ifdb, url, theme }) => (
export default ({ name, ifdb, url }) => (
<div>
<h4>{name}</h4>
<a
@ -15,7 +15,7 @@ export default ({ name, ifdb, url, theme }) => (
</a>
<span> | </span>
<Link
href={buildPlayLinkHref({ url, theme })}>
href={buildPlayLinkHref({ url })}>
Play
</Link>
</div>