Skip to content

Commit

Permalink
build: update react-query to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
d3george committed Jul 7, 2024
1 parent c5b4bf3 commit e9deaf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ module.exports = {
'react/jsx-props-no-spreading': 'off',

'import/first': 'warn',
'import/namespace': 'warn',
'import/newline-after-import': 'warn',
'import/no-duplicates': 'warn',
'import/no-extraneous-dependencies': 'off',
Expand Down
5 changes: 3 additions & 2 deletions src/_mock/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { setupWorker } from 'msw/browser';

import orgMockApi from './handlers/_org';
import userMockApi from './handlers/_user';
import demoMockApi from './handlers/_demo';

const { setupWorker } = await import('msw');

const handlers = [...userMockApi, ...orgMockApi, ...demoMockApi];
const worker = setupWorker(...handlers);

export default worker
1 change: 0 additions & 1 deletion src/components/locale-picker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default function LocalePicker() {
<Dropdown
placement="bottomRight"
trigger={['click']}
key={locale}
menu={{ items: localeList, onClick: (e) => setLocale(e.key as Locale) }}
>
<IconButton className="h-10 w-10 hover:scale-105">
Expand Down

0 comments on commit e9deaf5

Please sign in to comment.