summaryrefslogtreecommitdiffhomepage
path: root/src/components/Layout.jsx
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-22 19:05:07 -0400
committerrealtradam <[email protected]>2024-05-22 19:05:07 -0400
commit5f1b0bb1883a8021c7261dad59e063824849fd81 (patch)
tree7cc6f178256df3e7bd5556693fccbecf92034023 /src/components/Layout.jsx
parent2330eb25d958df5a8e15bcc9f452ac703323d159 (diff)
downloadmalcz.com-5f1b0bb1883a8021c7261dad59e063824849fd81.tar.gz
malcz.com-5f1b0bb1883a8021c7261dad59e063824849fd81.zip
add prod/dev env vars
Diffstat (limited to 'src/components/Layout.jsx')
-rw-r--r--src/components/Layout.jsx11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx
index 9aac935..06df03a 100644
--- a/src/components/Layout.jsx
+++ b/src/components/Layout.jsx
@@ -6,17 +6,6 @@ export default function Layout ({userData})
console.log(userData);
//const [userData, setUserData] = useState({ name: "" });
- // if the user tries to access the isolated domain then we redirect them
- // this is NOT done for security, only for good UX
- // rails serves the react app no matter what
- // so the app would be broken when served on the isolated domain
- const domain = window.location.host;
- console.log(domain);
- //if(domain === "localhost:3000")
- //{
- // window.location.replace("http://127.0.0.1:3000");
- //}
-
return (
<>
<div id="page" className="star flex flex-row min-h-screen max-h-screen bg-amber-400 text-stone-950 text-xl bg-star bg-repeat bg-[length:170px_170px]">