Skip to content

Commit

Permalink
fix:lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Chulinuwu committed Dec 21, 2024
1 parent d53fda4 commit 340a4ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/lib/components/Sidebar/Sidebar.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script lang="ts">
import { onMount } from 'svelte';
import sgcuLogo from '$lib/assets/images/sgcu.png';
import isdLogo from '$lib/assets/images/isdlogo.png';
import editLogo from '$lib/assets/icons/edit.svg';
Expand All @@ -7,11 +8,9 @@
let currentPath = '';
if (typeof window !== 'undefined') {
onMount(() => {
currentPath = window.location.pathname;
}
$: currentPath;
});
function handleClick() {
console.log('Edit icon clicked');
Expand Down Expand Up @@ -56,7 +55,7 @@
{user.name}
{user.lastname}
</div>
<div class=" body-medium font-semibold">
<div class="body-medium font-semibold">
{user.role}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/auth/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
} catch (error) {
errorMessage = error instanceof Error ? error.message : 'An unknown error occurred';
}
// getDecryptedToken();
getDecryptedToken();
};
const getDecryptedToken = () => {
Expand Down

0 comments on commit 340a4ee

Please sign in to comment.