Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat committed Dec 20, 2024
1 parent 1b149e9 commit ff305c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/backup/RestoreCloudStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import { ThemeContextProps, useTheme } from '@/theme';
import { WalletLoadingStates } from '@/helpers/walletLoadingStates';
import { isEmpty } from 'lodash';
import { backupsStore } from '@/state/backups/backups';
import { useExperimentalFlag, PROFILES } from '@/config';
import { walletLoadingStore } from '@/state/walletLoading/walletLoading';

type ComponentProps = {
Expand Down Expand Up @@ -107,7 +106,6 @@ export default function RestoreCloudStep() {
}, [canGoBack, goBack]);

const dispatch = useDispatch();
const profilesEnabled = useExperimentalFlag(PROFILES);
const { width: deviceWidth, height: deviceHeight } = useDimensions();
const [validPassword, setValidPassword] = useState(false);
const [incorrectPassword, setIncorrectPassword] = useState(false);
Expand Down Expand Up @@ -247,7 +245,7 @@ export default function RestoreCloudStep() {
loadingState: null,
});
}
}, [password, selectedBackup.name, dispatch, onRestoreSuccess, profilesEnabled, initializeWallet]);
}, [password, selectedBackup.name, dispatch, onRestoreSuccess, initializeWallet]);

const onPasswordSubmit = useCallback(() => {
validPassword && onSubmit();
Expand Down

0 comments on commit ff305c6

Please sign in to comment.