Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit d552930

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: removing unnecessary code
1 parent c11e9f1 commit d552930

File tree

1 file changed

+0
-2
lines changed
  • src/features/dashboard/components/Dialogs/UpdateAppDialog

1 file changed

+0
-2
lines changed

src/features/dashboard/components/Dialogs/UpdateAppDialog/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { ApplicationObject } from '@deriv/api-types';
88
import { RegisterAppDialogError } from '../RegisterAppDialogError';
99
import { scopesArrayToObject, scopesObjectToArray } from '@site/src/utils';
1010
import styles from './update-app-dialog.module.scss';
11-
import useAuthContext from '@site/src/hooks/useAuthContext';
1211

1312
interface IUpdateAppDialog {
1413
app: ApplicationObject;
@@ -17,7 +16,6 @@ interface IUpdateAppDialog {
1716

1817
const UpdateAppDialog = ({ app, onClose }: IUpdateAppDialog) => {
1918
const { send: updateApp, data, error, clear } = useWS('app_update');
20-
const { currentLoginAccount } = useAuthContext();
2119
const { getApps } = useAppManager();
2220

2321
const scopes = scopesArrayToObject(app.scopes);

0 commit comments

Comments
 (0)