Skip to content

Commit 1bc036c

Browse files
committed
Dashboard: Remove OPCreditsGrantedModal (#6945)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on removing several components related to onboarding and image handling from the project, as well as updating the `layout.tsx` file to eliminate the use of the `OpCreditsGrantedModalWrapperServer` component. ### Detailed summary - Deleted the following files: - `apps/dashboard/src/components/Image/index.tsx` - `apps/dashboard/public/assets/dashboard/confetti.gif` - `apps/dashboard/src/components/icons/brand-icons/OpenseaIcon.tsx` - `apps/dashboard/src/components/onboarding/OpCreditsGrantedModal.tsx` - `apps/dashboard/src/components/onboarding/OpCreditsGrantedModalWrapper.tsx` - `apps/dashboard/src/components/onboarding/OpCreditsGrantedModalWrapperServer.tsx` - Removed the `<OpCreditsGrantedModalWrapperServer />` component from the `layout.tsx` file. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 9f90b87 commit 1bc036c

File tree

7 files changed

+0
-320
lines changed

7 files changed

+0
-320
lines changed
Binary file not shown.

apps/dashboard/src/app/(app)/team/[team_slug]/layout.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { getTeamBySlug } from "@/api/team";
2-
import { OpCreditsGrantedModalWrapperServer } from "components/onboarding/OpCreditsGrantedModalWrapperServer";
32
import { PosthogIdentifierServer } from "components/wallets/PosthogIdentifierServer";
43
import { redirect } from "next/navigation";
54
import { Suspense } from "react";
@@ -42,9 +41,6 @@ export default async function RootTeamLayout(props: {
4241

4342
<SaveLastVisitedTeamPage teamId={team.id} />
4443

45-
<Suspense fallback={null}>
46-
<OpCreditsGrantedModalWrapperServer />
47-
</Suspense>
4844
<Suspense fallback={null}>
4945
<EnsureValidConnectedWalletLoginServer />
5046
</Suspense>

apps/dashboard/src/components/Image/index.tsx

Lines changed: 0 additions & 25 deletions
This file was deleted.

apps/dashboard/src/components/icons/brand-icons/OpenseaIcon.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

apps/dashboard/src/components/onboarding/OpCreditsGrantedModal.tsx

Lines changed: 0 additions & 207 deletions
This file was deleted.

apps/dashboard/src/components/onboarding/OpCreditsGrantedModalWrapper.tsx

Lines changed: 0 additions & 55 deletions
This file was deleted.

apps/dashboard/src/components/onboarding/OpCreditsGrantedModalWrapperServer.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)