Skip to content

Commit

Permalink
Even simpler guesser
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Nov 5, 2024
1 parent 3f15e5a commit e453a54
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 587 deletions.
10 changes: 2 additions & 8 deletions packages/demo/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import * as React from 'react';
import { BrowserRouter } from 'react-router-dom';
import { AdminGuesser } from 'ra-supabase';
import { authProvider } from './authProvider';
import { Dashboard } from './dashboard/Dashboard';
import { dataProvider } from './dataProvider';

const App = () => (
<BrowserRouter>
<AdminGuesser
dataProvider={dataProvider}
authProvider={authProvider}
dashboard={Dashboard}
title="CRM Demo"
instanceUrl={import.meta.env.VITE_SUPABASE_URL}
apiKey={import.meta.env.VITE_SUPABASE_ANON_KEY}
/>
</BrowserRouter>
);
Expand Down
20 changes: 0 additions & 20 deletions packages/demo/src/authProvider.ts

This file was deleted.

16 changes: 0 additions & 16 deletions packages/demo/src/dashboard/Avatar.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions packages/demo/src/dashboard/Dashboard.tsx

This file was deleted.

65 changes: 0 additions & 65 deletions packages/demo/src/dashboard/HotContacts.tsx

This file was deleted.

142 changes: 0 additions & 142 deletions packages/demo/src/dashboard/LatestNotes.tsx

This file was deleted.

Loading

0 comments on commit e453a54

Please sign in to comment.