fix: Change script tag to type="module" in dashboard and login pages
All checks were successful
SteamWarCI Build successful
All checks were successful
SteamWarCI Build successful
This commit is contained in:
@@ -5,7 +5,7 @@ import { t } from "astro-i18n";
|
|||||||
---
|
---
|
||||||
|
|
||||||
<PageLayout title={t("dashboard.page")}>
|
<PageLayout title={t("dashboard.page")}>
|
||||||
<script is:inline data-astro-rerun>
|
<script is:inline type="module" data-astro-rerun>
|
||||||
import { l } from "../util/util";
|
import { l } from "../util/util";
|
||||||
import { navigate } from "astro:transitions/client";
|
import { navigate } from "astro:transitions/client";
|
||||||
import { loggedIn } from "../components/repo/authv2";
|
import { loggedIn } from "../components/repo/authv2";
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import BackgroundImage from "../components/BackgroundImage.astro";
|
|||||||
---
|
---
|
||||||
|
|
||||||
<NavbarLayout title={t("login.page")}>
|
<NavbarLayout title={t("login.page")}>
|
||||||
<script is:inline data-astro-rerun>
|
<script is:inline type="module" data-astro-rerun>
|
||||||
import { l } from "../util/util";
|
import { l } from "../util/util";
|
||||||
import { navigate } from "astro:transitions/client";
|
import { navigate } from "astro:transitions/client";
|
||||||
import { loggedIn } from "../components/repo/authv2";
|
import { loggedIn } from "../components/repo/authv2";
|
||||||
|
|||||||
Reference in New Issue
Block a user