Archived
Cleaning
This commit is contained in:
1 parent
bb93c95b96
commit
de836b415c
6 files changed
+2
-4
No files matched your search
@@ -8,14 +8,12 @@ import { About } from "./pages/About";
|
||||
import { Users } from "./pages/Users";
|
||||
import { NotFound } from "./pages/NotFound";
|
||||
import Logo from "./components/Logo";
|
||||
import Popupv2 from "./components/Starter/Popupv2";
|
||||
|
||||
export const App = () => {
|
||||
return (
|
||||
<Router>
|
||||
<Logo />
|
||||
<Switch>
|
||||
<Popupv2></Popupv2>
|
||||
<Route exact path="/about" component={About} />
|
||||
<Route exact path="/users" component={Users} />
|
||||
<Route exact path="/" component={Home} />
|
||||
|
||||
File renamed without changes.
File renamed without changes.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
File renamed without changes.
File renamed without changes.
@@ -1,7 +1,7 @@
|
||||
import Popup from "./Popup.js";
|
||||
import { useState, useEffect } from "react";
|
||||
|
||||
function Popupv2() {
|
||||
function ShowPopup() {
|
||||
const [timedPopup, setTimedPopup] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
@@ -27,4 +27,4 @@ function Popupv2() {
|
||||
);
|
||||
}
|
||||
|
||||
export default Popupv2;
|
||||
export default ShowPopup;
|
||||
Reference in new issue
Block a user