Skip to content

Commit

Permalink
refactor: use lodash noop
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanwww committed Aug 12, 2023
1 parent b38c2a2 commit 80c40aa
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
3 changes: 0 additions & 3 deletions packages/app-common/src/utils/function.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/app-common/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './function';
export {};
3 changes: 2 additions & 1 deletion packages/app-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@ter/app-common": "workspace:*",
"clsx": "^1.2.1",
"immer": "^9.0.21",
"radash": "^11.0.0",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.0",
Expand All @@ -50,6 +50,7 @@
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.197",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/react-test-renderer": "^18.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Nullable } from '@ter/app-common/types';
import { noop } from '@ter/app-common/utils';
import { act, render } from '@testing-library/react';
import { noop } from 'lodash';
import { useState } from 'react';

import { validateHookValueNotChanged } from 'src/__tests__/hook';
Expand Down
19 changes: 10 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80c40aa

Please sign in to comment.