Skip to content

Commit

Permalink
feat: improve script tag (#7)
Browse files Browse the repository at this point in the history
Co-authored-by: HotPaotatoes <[email protected]>
  • Loading branch information
ChanatpakornS and ChanatpakornS authored Jan 15, 2024
1 parent 5a9fd54 commit c9e5021
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/navbar/LogoSGCU.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
export let classProps;
<script lang="ts">
export let classProps: string;
</script>

<svg
Expand Down
6 changes: 3 additions & 3 deletions src/components/navbar/Menu.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
export let classProps;
export let isOpen;
<script lang="ts">
export let classProps: string;
export let isOpen: boolean;
</script>

{#if isOpen}
Expand Down
4 changes: 2 additions & 2 deletions src/components/navbar/RightArrow.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
export let classProps;
<script lang="ts">
export let classProps: string;
</script>

<svg
Expand Down

0 comments on commit c9e5021

Please sign in to comment.