Skip to content

Commit 91265be

Browse files
committed
why doesnt it commited?
1 parent a870266 commit 91265be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import BaseFooter from "../components/BaseFooter.astro";
2020
<BaseFooter/>
2121
</div>
2222

23-
<script>
23+
<script type="module">
2424
import Cookies from "js-cookie";
2525
import {url} from "../consts.ts";
2626

@@ -33,7 +33,7 @@ import BaseFooter from "../components/BaseFooter.astro";
3333
const storedUser = Cookies.get("user");
3434
const storedLoggedIn = Cookies.get("isLoggedIn");
3535

36-
if (!container || !storedUser || !storedLoggedIn) return;
36+
// if (!container || !storedUser || !storedLoggedIn) return;
3737

3838
if (storedUser && storedLoggedIn == "true") {
3939
const user = JSON.parse(storedUser);

0 commit comments

Comments
 (0)