Skip to content

Commit

Permalink
fix(frontend): upgrade to plus button (QuivrHQ#2324)
Browse files Browse the repository at this point in the history
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
  • Loading branch information
Zewed committed Mar 9, 2024
1 parent 96f1308 commit 276dcd2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 50 deletions.
15 changes: 6 additions & 9 deletions frontend/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Outfit } from "next/font/google";
import { cookies, headers } from "next/headers";

import { ToastProvider } from "@/lib/components/ui/Toast";
import { FeatureFlagsProvider } from "@/lib/context";
import { SupabaseProvider } from "@/lib/context/SupabaseProvider";

import { App } from "./App";
Expand Down Expand Up @@ -37,14 +36,12 @@ const RootLayout = async ({
<body
className={`bg-white text-black h-screen flex flex-col dark:bg-black dark:text-white w-full ${inter.className}`}
>
<FeatureFlagsProvider>
<ToastProvider>
<SupabaseProvider session={session}>
<App>{children}</App>
</SupabaseProvider>
</ToastProvider>
<VercelAnalytics />
</FeatureFlagsProvider>
<ToastProvider>
<SupabaseProvider session={session}>
<App>{children}</App>
</SupabaseProvider>
</ToastProvider>
<VercelAnalytics />
</body>
</html>
);
Expand Down
38 changes: 0 additions & 38 deletions frontend/lib/context/FeatureFlagProvider/FeatureFlagsProvider.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions frontend/lib/context/FeatureFlagProvider/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion frontend/lib/context/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./BrainProvider";
export * from "./ChatProvider";
export * from "./FeatureFlagProvider";
export * from "./KnowledgeToFeedProvider";

0 comments on commit 276dcd2

Please sign in to comment.