This commit is contained in:
Manav Rathi
2024-11-04 14:01:43 +05:30
parent 80d35ea2fe
commit cfcbed2613
2 changed files with 3 additions and 3 deletions

View File

@@ -25,11 +25,11 @@ const TwoFactorDialog = styled(Dialog)(({ theme }) => ({
},
}));
type Props = ModalVisibilityProps & {
type TwoFactorModalProps = ModalVisibilityProps & {
closeSidebar: () => void;
};
function TwoFactorModal(props: Props) {
function TwoFactorModal(props: TwoFactorModalProps) {
const [isTwoFactorEnabled, setTwoFactorStatus] = useState(false);
useEffect(() => {

View File

@@ -47,7 +47,7 @@ import {
} from "@mui/material";
import Typography from "@mui/material/Typography";
import DeleteAccountModal from "components/DeleteAccountModal";
import TwoFactorModal from "components/TwoFactor/Modal";
import TwoFactorModal from "components/Sidebar/TwoFactorModal";
import { WatchFolder } from "components/WatchFolder";
import LinkButton from "components/pages/gallery/LinkButton";
import { t } from "i18next";