remove options script
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,39 +0,0 @@
|
|||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react-dom.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react-jsx-runtime.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* scheduler.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
@@ -1,45 +1,45 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
// import React, { useEffect, useState } from "react";
|
||||||
import ReactDOM from "react-dom/client";
|
// import ReactDOM from "react-dom/client";
|
||||||
|
|
||||||
const App = () => {
|
// const App = () => {
|
||||||
const [loading, setLoading] = useState(true);
|
// const [loading, setLoading] = useState(true);
|
||||||
|
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
const timer = setTimeout(() => {
|
// const timer = setTimeout(() => {
|
||||||
if (!document.querySelector("header")) {
|
// if (!document.querySelector("header")) {
|
||||||
setLoading(false);
|
// setLoading(false);
|
||||||
}
|
// }
|
||||||
}, 5000);
|
// }, 5000);
|
||||||
return () => {
|
// return () => {
|
||||||
clearTimeout(timer);
|
// clearTimeout(timer);
|
||||||
};
|
// };
|
||||||
}, []);
|
// }, []);
|
||||||
|
|
||||||
if (loading) {
|
// if (loading) {
|
||||||
return (
|
// return (
|
||||||
<center>
|
// <center>
|
||||||
<p>KISS Translator</p>
|
// <p>KISS Translator</p>
|
||||||
<h1 style={{ textAlign: "center" }}>loading...</h1>
|
// <h1 style={{ textAlign: "center" }}>loading...</h1>
|
||||||
</center>
|
// </center>
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
|
|
||||||
return (
|
// return (
|
||||||
<center>
|
// <center>
|
||||||
<p>
|
// <p>
|
||||||
<a href={process.env.REACT_APP_HOMEPAGE}>KISS Translator</a> Script not
|
// <a href={process.env.REACT_APP_HOMEPAGE}>KISS Translator</a> Script not
|
||||||
installed or disabled!
|
// installed or disabled!
|
||||||
</p>
|
// </p>
|
||||||
<h1>
|
// <h1>
|
||||||
<a href={process.env.REACT_APP_HOMEPAGE}>Click here read more!</a>
|
// <a href={process.env.REACT_APP_HOMEPAGE}>Click here read more!</a>
|
||||||
</h1>
|
// </h1>
|
||||||
</center>
|
// </center>
|
||||||
);
|
// );
|
||||||
};
|
// };
|
||||||
|
|
||||||
const root = ReactDOM.createRoot(document.getElementById("root"));
|
// const root = ReactDOM.createRoot(document.getElementById("root"));
|
||||||
root.render(
|
// root.render(
|
||||||
<React.StrictMode>
|
// <React.StrictMode>
|
||||||
<App />
|
// <App />
|
||||||
</React.StrictMode>
|
// </React.StrictMode>
|
||||||
);
|
// );
|
||||||
|
|||||||
Reference in New Issue
Block a user