···22import schemaContent from "./schemas/main2.sql?raw";
33import { DBProvider } from "@vlcn.io/react";
44import { useEffect, useState } from "react";
55+import { v4 as uuidv4 } from 'uuid';
66+77+5869/**
710 * Generates a random room name to sync with or pulls one from local storage.
···7477}
75787679function newRoom() {
7777- return crypto.randomUUID().replaceAll("-", "");
8080+ let uuid = uuidv4();
8181+ return uuid.replaceAll("-", "");
7882}