- {isTippingEnabled ? (
-
- ) : null}
+
{bio}
{
const MAX_WIDTH_FOR_SHORT_TIP_BUTTON = 884
export const FeedTipTile = () => {
- const isTippingEnabled = getFeatureEnabled(FeatureFlags.TIPPING_ENABLED)
-
const { isMatch: useShortButtonFormat } = useMediaQueryListener(
`(max-width: ${MAX_WIDTH_FOR_SHORT_TIP_BUTTON}px)`
)
@@ -214,7 +211,7 @@ export const FeedTipTile = () => {
}
}, [dispatch, usersMap, tipToDisplay])
- if (!isTippingEnabled || !showTip) {
+ if (!showTip) {
return null
}
diff --git a/packages/web/src/pages/profile-page/components/desktop/ProfileLeftNav.tsx b/packages/web/src/pages/profile-page/components/desktop/ProfileLeftNav.tsx
index c867232a6f..b324d9236f 100644
--- a/packages/web/src/pages/profile-page/components/desktop/ProfileLeftNav.tsx
+++ b/packages/web/src/pages/profile-page/components/desktop/ProfileLeftNav.tsx
@@ -1,6 +1,6 @@
import { useCallback } from 'react'
-import { ID, Name, FeatureFlags } from '@audius/common'
+import { ID, Name } from '@audius/common'
import cn from 'classnames'
import { animated } from 'react-spring'
@@ -17,7 +17,6 @@ import ProfilePageBadge from 'components/user-badges/ProfilePageBadge'
import { Type } from 'pages/profile-page/components/SocialLink'
import SocialLinkInput from 'pages/profile-page/components/SocialLinkInput'
import { ProfileTags } from 'pages/profile-page/components/desktop/ProfileTags'
-import { getFeatureEnabled } from 'services/remote-config/featureFlagHelpers'
import { make, useRecord } from 'store/analytics/actions'
import { UPLOAD_PAGE } from 'utils/route'
@@ -94,7 +93,6 @@ export const ProfileLeftNav = (props: ProfileLeftNavProps) => {
} = props
const record = useRecord()
- const isTippingEnabled = getFeatureEnabled(FeatureFlags.TIPPING_ENABLED)
const accountUser = useSelector(getAccountUser)
const onClickUploadChip = useCallback(() => {
@@ -201,12 +199,11 @@ export const ProfileLeftNav = (props: ProfileLeftNavProps) => {
instagramHandle={instagramHandle}
tikTokHandle={tikTokHandle}
/>
- {isTippingEnabled &&
- (!accountUser || accountUser.user_id !== userId) ? (
+ {!accountUser || accountUser.user_id !== userId ? (
) : null}
- {isTippingEnabled && }
- {isTippingEnabled && }
+
+
{isArtist ? : null}
{isOwner && !isArtist && (
diff --git a/packages/web/src/pages/profile-page/sagas.js b/packages/web/src/pages/profile-page/sagas.js
index a22b2af0cb..cc4b21aabc 100644
--- a/packages/web/src/pages/profile-page/sagas.js
+++ b/packages/web/src/pages/profile-page/sagas.js
@@ -2,7 +2,6 @@ import {
DefaultSizes,
Kind,
DoubleKeys,
- FeatureFlags,
makeUid,
makeKindId
} from '@audius/common'
@@ -37,7 +36,6 @@ import { apiClient } from 'services/audius-api-client'
import { fetchCID } from 'services/audius-backend'
import { audiusBackendInstance } from 'services/audius-backend/audius-backend-instance'
import OpenSeaClient from 'services/opensea-client/OpenSeaClient'
-import { getFeatureEnabled } from 'services/remote-config/featureFlagHelpers'
import { remoteConfigInstance } from 'services/remote-config/remote-config-instance'
import SolanaClient from 'services/solana-client/SolanaClient'
import * as confirmerActions from 'store/confirmer/actions'
@@ -152,10 +150,6 @@ export function* fetchSolanaCollectibles(user) {
function* fetchSupportersAndSupporting(userId) {
yield call(waitForRemoteConfig)
- const isTippingEnabled = getFeatureEnabled(FeatureFlags.TIPPING_ENABLED)
- if (!isTippingEnabled) {
- return
- }
/**
* If the profile is that of the logged in user, then
diff --git a/packages/web/src/store/tipping/sagas.ts b/packages/web/src/store/tipping/sagas.ts
index 15073c19bc..c3a133588d 100644
--- a/packages/web/src/store/tipping/sagas.ts
+++ b/packages/web/src/store/tipping/sagas.ts
@@ -9,8 +9,7 @@ import {
User,
BNWei,
StringWei,
- Nullable,
- FeatureFlags
+ Nullable
} from '@audius/common'
import BN from 'bn.js'
import {
@@ -69,7 +68,6 @@ import {
UserTipRequest
} from 'services/audius-backend/Tipping'
import { UpdateTipsStorageMessage } from 'services/native-mobile-interface/tipping'
-import { getFeatureEnabled } from 'services/remote-config/featureFlagHelpers'
import { remoteConfigInstance } from 'services/remote-config/remote-config-instance'
import walletClient from 'services/wallet-client/WalletClient'
import { make } from 'store/analytics/actions'
@@ -206,10 +204,6 @@ function* overrideSupportersForUser({
function* sendTipAsync() {
yield call(waitForRemoteConfig)
- const isTippingEnabled = getFeatureEnabled(FeatureFlags.TIPPING_ENABLED)
- if (!isTippingEnabled) {
- return
- }
const sender = yield* select(getAccountUser)
if (!sender) {