Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gallayl committed Jul 12, 2024
1 parent 643d72f commit 256f351
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"editor.formatOnSave": true,
"eslint.validate": ["typescript", "typescriptreact"],
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
},
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs",
"typescript.enablePromptUseWorkspaceTsdk": true
}
3 changes: 2 additions & 1 deletion frontend/src/components/theme-switch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export const ThemeSwitch = Shade<Omit<ButtonProps, 'onclick'>>({
{...props}
onclick={() => {
themeProvider.setAssignedTheme(theme === 'dark' ? defaultLightTheme : defaultDarkTheme)
}}>
}}
>
{theme === 'dark' ? '☀️' : '🌜'}
</Button>
)
Expand Down
1 change: 0 additions & 1 deletion prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default {
jsxBracketSameLine: true,
printWidth: 120,
semi: false,
singleQuote: true,
Expand Down

0 comments on commit 256f351

Please sign in to comment.