Skip to content

Commit

Permalink
chore(edit): added theme setting
Browse files Browse the repository at this point in the history
  • Loading branch information
SharmaTarun1111111 committed Jul 11, 2023
1 parent 1a4a306 commit 481a129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next-tavla/pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function getServerSideProps({

function BoardPage({ settings }: { settings: TSettings }) {
return (
<div className={classes.root} data-theme={'dark'}>
<div className={classes.root} data-theme={settings.theme || 'dark'}>
<div className={classes.rootContainer}>
<Header theme={settings.theme} showClock={true} />
<Board settings={settings} />
Expand Down

0 comments on commit 481a129

Please sign in to comment.