Management: fix after changes routes
This commit is contained in:
parent
de9949ab5c
commit
e6a803320a
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user