From 6e83ef2753a56734b3e3554162c22fa031e08b1a Mon Sep 17 00:00:00 2001 From: drgoodcat <60068941+drgoodcat@users.noreply.github.com> Date: Sun, 3 Oct 2021 22:00:40 +0200 Subject: [PATCH] about popup --- src/components/Pop-up/{index.js => Popup.js} | 2 +- src/pages/About/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/components/Pop-up/{index.js => Popup.js} (93%) diff --git a/src/components/Pop-up/index.js b/src/components/Pop-up/Popup.js similarity index 93% rename from src/components/Pop-up/index.js rename to src/components/Pop-up/Popup.js index 1ac1868..1299545 100644 --- a/src/components/Pop-up/index.js +++ b/src/components/Pop-up/Popup.js @@ -2,7 +2,7 @@ import React from "react"; import "./index.scss"; import Hand from "./AnimatedHand/Hand"; -export default function Popup(props) { +export default function Popup(props) { return props.trigger ? (
diff --git a/src/pages/About/index.js b/src/pages/About/index.js index 0a2bfc6..182b823 100644 --- a/src/pages/About/index.js +++ b/src/pages/About/index.js @@ -1,6 +1,6 @@ // import styles from "./index.module.scss"; import Logo from "../../components/Logo"; -import Popup from "../../components/Pop-up"; +import ShowPopup from "../../components/Pop-up/ShowPopup"; export const About = () => { - return ; + return ; };