forked from cerc-io/snowballtools-base
🔧 chore: index import
This commit is contained in:
parent
200ea3ca7b
commit
32918b7930
2
packages/frontend/src/components/shared/Toast/index.ts
Normal file
2
packages/frontend/src/components/shared/Toast/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './Toaster';
|
||||
export * from './useToast';
|
@ -9,8 +9,7 @@ import './index.css';
|
||||
import '@fontsource/inter';
|
||||
import App from './App';
|
||||
import reportWebVitals from './reportWebVitals';
|
||||
import { GQLClientProvider } from './context/GQLClientContext';
|
||||
import { Toaster } from 'components/shared/Toast/Toaster';
|
||||
import { Toaster } from 'components/shared/Toast';
|
||||
|
||||
const root = ReactDOM.createRoot(
|
||||
document.getElementById('root') as HTMLElement,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Button } from 'components/shared/Button';
|
||||
import { useToast } from 'components/shared/Toast/useToast';
|
||||
import { useToast } from 'components/shared/Toast';
|
||||
|
||||
export const renderToastsWithCta = () => {
|
||||
const { toast, dismiss } = useToast();
|
||||
|
Loading…
Reference in New Issue
Block a user