Skip to content

Commit

Permalink
fix: remove deprecated "add coupon" section from user settings page (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
oyezaheer authored Aug 27, 2024
1 parent 8819dad commit 0b61b77
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 73 deletions.
70 changes: 0 additions & 70 deletions components/organisms/UserSettingsPage/coupon-form.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions components/organisms/UserSettingsPage/user-settings-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { validateTwitterUsername } from "lib/utils/validate-twitter-username";
import { Dialog, DialogContent, DialogHeader, DialogTitle } from "components/molecules/Dialog/dialog";
import { LanguageSwitch } from "components/shared/LanguageSwitch/language-switch";
import useSupabaseAuth from "lib/hooks/useSupabaseAuth";
import CouponForm from "./coupon-form";
import DeveloperPackForm from "./developer-pack-form";

interface UserSettingsPageProps {
Expand Down Expand Up @@ -453,8 +452,6 @@ const UserSettingsPage = ({ user }: UserSettingsPageProps) => {
setCoupon("verified");
}}
/>

{!coupon && <CouponForm refreshUser={mutate} />}
</div>
) : null}
</div>
Expand Down

0 comments on commit 0b61b77

Please sign in to comment.