Skip to content

Commit

Permalink
fix action button error (#7545)
Browse files Browse the repository at this point in the history
  • Loading branch information
amendelsohn authored Feb 9, 2024
1 parent 15d6102 commit ec379ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const DetailsTileActionButtons = ({
const collectionHasHiddenTracks = useSelector((state: CommonState) =>
getCollecitonHasHiddenTracks(state, { id: collectionId })
)
const messages = getMessages(collection.is_album ? 'album' : 'playlist')
const messages = getMessages(collection?.is_album ? 'album' : 'playlist')
const { isEnabled: isEditAlbumsEnabled } = useFeatureFlag(
FeatureFlags.EDIT_ALBUMS
)
Expand Down

0 comments on commit ec379ba

Please sign in to comment.