Skip to content

Persist theme in localstrorage #91

Open
@jsrikrishna11

Description

@jsrikrishna11

After choosing a theme other than the default theme which is 'light'. If I refresh the page, the page theme is being reset to 'light'. This is because, on reload it is calling useState('light')again.

Is it even an issue?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions