Skip to content

Commit

Permalink
update Toast component
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Sep 5, 2024
1 parent 2333eb2 commit 663b179
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"dependencies": {
"@react-native-community/netinfo": "11.3.2",
"@react-navigation/native": "6.1.17",
"axios": "1.7.3",
"axios": "1.7.7",
"bottleneck": "^2.19.5",
"js-base64": "^3.7.7",
"lodash": "4.17.21",
"observable-hooks": "4.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hotkeys-hook": "^4.5.0",
"react-hotkeys-hook": "^4.5.1",
"react-native": "0.74.5",
"react-native-gesture-handler": "^2.16.2",
"react-native-reanimated": "3.11.0",
Expand All @@ -35,8 +35,8 @@
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "^15.0.7",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/react-hooks": "8.0.1",
"@types/jest": "^29.5.12",
"@types/lodash": "4.17.7",
Expand All @@ -48,7 +48,7 @@
"jest": "^29.7.0",
"react-scripts": "5.0.1",
"react-test-renderer": "18.2.0",
"ts-jest": "^29.1.5",
"ts-jest": "^29.2.5",
"typescript": "^5.4.5"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion src/use-http-client/use-http-error-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as React from 'react';
import { isCancel } from 'axios';
import get from 'lodash/get';

import { Toast } from '@wcpos/tailwind/src/toast';
import { Toast } from '@wcpos/components/src/toast';
import log from '@wcpos/utils/src/logger';

type AxiosResponse = import('axios').AxiosResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/use-online-status/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import NetInfo, {
NetInfoStateType,
} from '@react-native-community/netinfo';

import { Toast } from '@wcpos/tailwind/src/toast';
import { Toast } from '@wcpos/components/src/toast';

const initialState: NetInfoState = {
type: NetInfoStateType.unknown,
Expand Down

0 comments on commit 663b179

Please sign in to comment.