-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update themes and styles #16
Conversation
@Arsenii1109, спасибо за вклад в разработку Gml.Web.Client! У меня есть несколько предложений по улучшению изменений:
|
@@ -1,3 +1,5 @@ | |||
'use client' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Удали 'use client', нужды в клиентском компоненте нет
export const ChangeTheme = () => { | ||
const { setTheme, theme } = useTheme() | ||
const isDarkTheme = theme === 'dark' | ||
console.log(theme) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Убери console.log, он не нужен
Add dark theme and update styles