Skip to content

Commit

Permalink
removes create sale email toggle (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
scandycuz authored Oct 23, 2024
1 parent 34209be commit 0e135af
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/studio/src/pages/home/library/ViewDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import MintSong from "./MintSong";
import SongInfo from "./SongInfo";
import { SongRouteParams } from "./types";
import { MarketplaceTab } from "./MarketplaceTab";
import { useGetProfileQuery } from "../../../modules/session";
import { NEWM_SUPPORT_EMAIL, isSongEditable } from "../../../common";
import { setToastMessage } from "../../../modules/ui";
import {
Expand Down Expand Up @@ -65,8 +64,6 @@ const ViewDetails: FunctionComponent = () => {

const { songId } = useParams<"songId">() as SongRouteParams;

const { data: profile } = useGetProfileQuery();

const {
data: { title, coverArtUrl, mintingStatus } = emptySong,
error,
Expand All @@ -83,9 +80,7 @@ const ViewDetails: FunctionComponent = () => {
].includes(mintingStatus);

const isManageMarketplaceSalesEnabled =
profile?.email === "[email protected]" ??
clientConfig?.featureFlags?.manageMarketplaceSalesEnabled ??
false;
clientConfig?.featureFlags?.manageMarketplaceSalesEnabled ?? false;

const shouldRenderMarketplaceTab =
!isClientConfigLoading &&
Expand Down

0 comments on commit 0e135af

Please sign in to comment.