feat: add new board form

This commit is contained in:
Henry
2023-11-07 09:12:00 +00:00
parent f615198c0c
commit 1df15595f4
12 changed files with 228 additions and 12 deletions

10
src/utils/generateUID.ts Normal file
View File

@@ -0,0 +1,10 @@
import { customAlphabet } from "nanoid";
const alphabet = "0123456789abcdefghijklmnopqrstuvwxyz";
const length = 12;
const nanoid = customAlphabet(alphabet, length);
export function generateUID() {
return nanoid();
}