Skip to content

Commit

Permalink
Fix invalid nanoids
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlkonig committed Jul 28, 2024
1 parent e251f33 commit 059aaf8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Play.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
import { render as APRender } from "@abstractplay/renderer";
import type { IRenderOptions } from "@abstractplay/renderer";
import { afterUpdate, onMount } from "svelte";
import { nanoid } from "nanoid";
import { customAlphabet } from "nanoid";
const nanoid = customAlphabet(
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
5,
);
import PiecePreview from "./PiecePreview.svelte";
import type { APDesignerClientMessages } from "@/schemas/messages";
import Modal from "./Modal.svelte";
Expand Down

0 comments on commit 059aaf8

Please sign in to comment.