Security handening

This commit is contained in:
Roman Krček
2025-08-07 16:28:07 +02:00
parent 6ed1f985e0
commit c95f96594f
8 changed files with 188 additions and 142 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { selectedSheet, currentStep } from '$lib/stores';
import type { SheetInfoType } from '$lib/stores';
import { searchSheets } from '$lib/google';
import { searchSheets, ensureToken } from '$lib/google';
import { onMount } from 'svelte';
import Navigator from './subcomponents/Navigator.svelte';
@@ -15,6 +15,7 @@
const RECENT_SHEETS_KEY = 'recent-sheets';
onMount(() => {
ensureToken();
loadRecentSheets();
});