Management: fix after changes routes

This commit is contained in:
Timofey Boyko 2024-06-24 10:59:27 +03:00
parent de9949ab5c
commit e6a803320a
4 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ import React, { useEffect } from "react";
import { useTranslation } from "react-i18next";
import { useStore } from "SRC_DIR/store";
import BackupPage from "client/BackupPage";
import { Component } from "client/BackupPage";
const Backup = () => {
const { t } = useTranslation(["Settings"]);
@ -40,7 +40,7 @@ const Backup = () => {
setDocumentTitle(t("Backup"));
}, []);
return <BackupPage />;
return <Component />;
};
export default Backup;

View File

@ -25,10 +25,10 @@
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import React from "react";
import BonusPage from "client/BonusPage";
import { Component } from "client/BonusPage";
const Bonus = () => {
return <BonusPage />;
return <Component />;
};
export default Bonus;

View File

@ -25,10 +25,10 @@
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
import React from "react";
import PaymentsPage from "client/PaymentsPage";
import { Component } from "client/PaymentsPage";
const Payments = () => {
return <PaymentsPage />;
return <Component />;
};
export default Payments;

View File

@ -28,7 +28,7 @@ import React, { useEffect } from "react";
import { useTranslation } from "react-i18next";
import { useStore } from "SRC_DIR/store";
import RestorePage from "client/RestorePage";
import { Component } from "client/RestorePage";
const Restore = () => {
const { t } = useTranslation(["Settings"]);
@ -40,7 +40,7 @@ const Restore = () => {
setDocumentTitle(t("RestoreBackup"));
}, []);
return <RestorePage />;
return <Component />;
};
export default Restore;