diff --git a/package.json b/package.json index 7b57bc5..c37f995 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,8 @@ "@supabase/supabase-js": "^2.32.0", "@unocss/reset": "^0.54.2", "solid-js": "^1.7.11", - "solid-start": "^0.2.30" + "solid-start": "^0.2.30", + "solid-toast": "^0.5.0" }, "engines": { "node": ">=16" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 11b2570..02b371b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,6 +41,9 @@ dependencies: solid-start: specifier: ^0.2.30 version: 0.2.30(@solidjs/meta@0.28.6)(@solidjs/router@0.8.3)(solid-js@1.7.11)(solid-start-vercel@0.2.30)(vite@4.4.9) + solid-toast: + specifier: ^0.5.0 + version: 0.5.0(solid-js@1.7.11) devDependencies: '@iconify-json/mdi': @@ -5096,6 +5099,14 @@ packages: - '@nuxt/kit' - supports-color + /solid-toast@0.5.0(solid-js@1.7.11): + resolution: {integrity: sha512-t770JakjyS2P9b8Qa1zMLOD51KYKWXbTAyJePVUoYex5c5FH5S/HtUBUbZAWFcqRCKmAE8KhyIiCvDZA8bOnxQ==} + peerDependencies: + solid-js: ^1.5.4 + dependencies: + solid-js: 1.7.11 + dev: false + /source-map-js@1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} diff --git a/src/root.tsx b/src/root.tsx index ef8e7f6..ffd34e4 100644 --- a/src/root.tsx +++ b/src/root.tsx @@ -26,6 +26,7 @@ import { import FullscreenLoader, { FullscreenLoaderEntry } from "@/components/FullscreenLoader"; import { getProfileWithSession, supabase } from "@/supabase/client"; import { setAuth } from "@/stores/auth"; +import { Toaster } from "solid-toast"; export default function Root() { onMount(async () => { @@ -55,6 +56,7 @@ export default function Root() { + { }} > setNewFolderName(event.target.value)}