WIP for not found error pages BOD-119
This commit is contained in:
@@ -6,8 +6,6 @@ export default function Test() {
|
||||
console.log("handleQbSignIn -> result", result.data);
|
||||
// window.open(result.data, "_blank", "toolbar=0,location=0,menubar=0");
|
||||
|
||||
var win;
|
||||
var checkConnect;
|
||||
var parameters = "location=1,width=800,height=650";
|
||||
parameters +=
|
||||
",left=" +
|
||||
@@ -16,7 +14,7 @@ export default function Test() {
|
||||
(window.screen.height - 650) / 2;
|
||||
|
||||
// Launch Popup
|
||||
win = window.open(result.data, "connectPopup", parameters);
|
||||
window.open(result.data, "connectPopup", parameters);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
16
client/src/components/not-found/not-found.component.jsx
Normal file
16
client/src/components/not-found/not-found.component.jsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from "react";
|
||||
import { Result } from "antd";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export default function NotFound() {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div>
|
||||
<Result
|
||||
status="404"
|
||||
title={t("general.messages.notfoundtitle")}
|
||||
subTitle={t("general.messages.notfoundsub")}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user