A deployable markdown editor that connects with your self hosted files and lets you edit in a beautiful interface
at main 30 lines 678 B view raw
1import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; 2import { Toaster } from 'sonner'; 3import { SetupWizard } from './SetupWizard'; 4 5const queryClient = new QueryClient({ 6 defaultOptions: { 7 queries: { 8 refetchOnWindowFocus: false, 9 retry: 1, 10 }, 11 }, 12}); 13 14export function SelectRepoApp() { 15 return ( 16 <QueryClientProvider client={queryClient}> 17 <Toaster 18 position="top-right" 19 toastOptions={{ 20 style: { 21 border: '2px solid black', 22 fontFamily: 'Crimson Pro, serif', 23 }, 24 className: 'toast', 25 }} 26 /> 27 <SetupWizard /> 28 </QueryClientProvider> 29 ); 30}