Skip to content

Commit

Permalink
Complete EvoluProvider, add dev comments
Browse files Browse the repository at this point in the history
  • Loading branch information
steida committed Nov 19, 2023
1 parent 466175a commit 11ac41c
Show file tree
Hide file tree
Showing 3 changed files with 204 additions and 189 deletions.
5 changes: 2 additions & 3 deletions apps/web/components/NextJsExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const Database = S.struct({
type Database = S.Schema.To<typeof Database>;

const {
EvoluProvider,
useEvoluError,
createQuery,
useQuery,
Expand All @@ -76,7 +75,7 @@ export const NextJsExample: FC = () => {
});

return (
<EvoluProvider>
<>
<OwnerActions />
<nav className="my-4">
<Button
Expand All @@ -90,7 +89,7 @@ export const NextJsExample: FC = () => {
</nav>
<Suspense>{todosShown ? <Todos /> : <TodoCategories />}</Suspense>
<NotificationBar />
</EvoluProvider>
</>
);
};

Expand Down
Loading

0 comments on commit 11ac41c

Please sign in to comment.