Skip to content

Commit

Permalink
Remove add coupon section from user serttings page
Browse files Browse the repository at this point in the history
  • Loading branch information
oyezaheer committed Aug 26, 2024
1 parent e5b2c9f commit 9458b6e
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 9458b6e

Please sign in to comment.