mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-06-29 04:39:12 +00:00
Initial commit for working landing page
This commit is contained in:
parent
f3fecc77c5
commit
439b6eabe8
36 changed files with 9186 additions and 0 deletions
15
toast-provider.tsx
Normal file
15
toast-provider.tsx
Normal file
|
@ -0,0 +1,15 @@
|
|||
"use client";
|
||||
|
||||
import React, { PropsWithChildren } from "react";
|
||||
|
||||
import { ToastProvider as Provider } from "@/components/ui/toast";
|
||||
import { Toaster } from "@/components/ui/toaster";
|
||||
|
||||
export const ToastProvider: React.FC<PropsWithChildren> = ({ children }) => {
|
||||
return (
|
||||
<Provider>
|
||||
<Toaster />
|
||||
{children}
|
||||
</Provider>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue