external triggering of SignRequest

This commit is contained in:
Samuel Andert
2023-08-30 19:54:57 +02:00
parent 9aa3bfc0d2
commit 978e438854
4 changed files with 31 additions and 65 deletions

View File

@ -1,5 +1,11 @@
<script>
import GoogleAuth from "$lib/GoogleAuth.svelte";
import { signRequest } from "$lib/stores.js";
function trigger() {
signRequest.set(true);
}
</script>
<GoogleAuth />
<button on:click={trigger}>Sign Request</button>