Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #3785

Merged
merged 1 commit into from
Nov 18, 2024
Merged

fix #3785

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/www/src/registry/default/lib/uploadthing/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
import { AudioLines, FileUp, Film, ImageIcon } from 'lucide-react';
import { useFilePicker } from 'use-file-picker';

import { useUploadFile } from '../lib/uploadthing';
import { useUploadFile } from '../lib/uploadthing/uploadthing';
import { PlateElement } from './plate-element';
import { Spinner } from './spinner';

Expand Down
1 change: 1 addition & 0 deletions apps/www/src/registry/registry-blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const blocks: Registry = [
'@udecode/plate-slash-command',
'@udecode/plate-table',
'@udecode/plate-toggle',
'sonner',
],
files: [
{
Expand Down
3 changes: 3 additions & 0 deletions templates/plate-playground-template/src/app/editor/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Toaster } from 'sonner';

import { PlateEditor } from '@/components/editor/plate-editor';
import { OpenAIProvider } from '@/components/editor/use-chat';

Expand All @@ -6,6 +8,7 @@ export default function Page() {
<div className="h-screen w-full" data-registry="plate">
<OpenAIProvider>
<PlateEditor />
<Toaster />
</OpenAIProvider>
</div>
);
Expand Down
2 changes: 0 additions & 2 deletions templates/plate-playground-template/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Metadata } from 'next';

import localFont from 'next/font/local';
import { Toaster } from 'sonner';

import './globals.css';

Expand Down Expand Up @@ -32,7 +31,6 @@ export default function RootLayout({
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<Toaster />
</body>
</html>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
import { AudioLines, FileUp, Film, ImageIcon } from 'lucide-react';
import { useFilePicker } from 'use-file-picker';

import { useUploadFile } from '@/lib/uploadthing';
import { useUploadFile } from '@/lib/uploadthing/uploadthing';

import { PlateElement } from './plate-element';
import { Spinner } from './spinner';
Expand Down

This file was deleted.

Loading