hook, store 리네이밍

This commit is contained in:
static
2024-12-27 21:50:04 +09:00
parent 400438c395
commit 1aafe126d6
11 changed files with 61 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Button, TextButton } from "$lib/components/buttons";
import { TitleDiv, BottomDiv } from "$lib/components/divs";
import { goto } from "$lib/hooks";
import { gotoStateful } from "$lib/hooks";
import Order from "./Order.svelte";
import { generateKeyPair } from "./service";
@@ -27,7 +27,8 @@
];
const generate = async () => {
await goto("/key/export", await generateKeyPair());
// TODO
await gotoStateful("/key/export", await generateKeyPair());
};
</script>