Merge pull request #18 from killer-cf/fix-page-with-lint-errors

Fix page with lint errors
This commit is contained in:
Kilder Costa
2025-11-13 08:55:09 -03:00
committed by GitHub
36 changed files with 285 additions and 233 deletions

View File

@@ -1,5 +1,6 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { resolve } from '$app/paths';
import { useQuery, useConvexClient } from 'convex-svelte';
import { api } from '@sgse-app/backend/convex/_generated/api';
import { toast } from 'svelte-sonner';
@@ -499,7 +500,7 @@
<div class="breadcrumbs mb-4 text-sm">
<ul>
<li>
<a href="/recursos-humanos" class="text-primary hover:underline">Recursos Humanos</a>
<a href={resolve('/recursos-humanos')} class="text-primary hover:underline">Recursos Humanos</a>
</li>
<li>Atestados & Licenças</li>
</ul>
@@ -530,7 +531,7 @@
<p class="text-base-content/70">Registro de atestados médicos e licenças</p>
</div>
</div>
<button class="btn gap-2" onclick={() => goto('/recursos-humanos')}>
<button class="btn gap-2" onclick={() => goto(resolve('/recursos-humanos'))}>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"