make sure to hit that subscribe button

This commit is contained in:
AveryMadness 2024-01-23 21:29:19 -07:00
parent 62407f3d3d
commit 824392fdeb
3 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ export function AdminTrackList() {
} }
else else
toast(Res.data.errorMessage, { type: "error" }) toast(Res.data.errorMessage, { type: "error" })
}}>Add to Bookmarks</Button> }}>Subscribe</Button>
<Button sx={{ width: "100%", marginBottom: 1 }}>View Details</Button> <Button sx={{ width: "100%", marginBottom: 1 }}>View Details</Button>
<Button sx={{ width: "100%" }} variant="danger">Disable</Button> <Button sx={{ width: "100%" }} variant="danger">Disable</Button>
</Song> </Song>

View File

@ -105,7 +105,7 @@ export function Profile() {
: <Text>You have no activated songs.</Text> : <Text>You have no activated songs.</Text>
} }
</Box> </Box>
<Heading sx={{ marginTop: 2, marginBottom: 2 }}>My Bookmarks</Heading> <Heading sx={{ marginTop: 2, marginBottom: 2 }}>My Subscriptions</Heading>
<Box className="songCategory"> <Box className="songCategory">
{ {
bookmarkedSongs.length >= 1 ? bookmarkedSongs.length >= 1 ?
@ -120,7 +120,7 @@ export function Profile() {
} }
else else
toast(Res.data.errorMessage, { type: "error" }) toast(Res.data.errorMessage, { type: "error" })
}}>Remove from Bookmarks</Button> }}>Unsubscribe</Button>
</Song>; </Song>;
}) })
: <Text>You have no bookmarked songs.</Text> : <Text>You have no bookmarked songs.</Text>

View File

@ -47,7 +47,7 @@ export function Tracks() {
} }
else else
toast(Res.data.errorMessage, { type: "error" }) toast(Res.data.errorMessage, { type: "error" })
}}>Remove from Bookmarks</Button> : }}>Unsubscribe</Button> :
<Button sx={{ width: "100%", marginBottom: 1 }} variant="primary" onClick={async () => { <Button sx={{ width: "100%", marginBottom: 1 }} variant="primary" onClick={async () => {
if (!state.UserDetails) if (!state.UserDetails)
{ {
@ -65,7 +65,7 @@ export function Tracks() {
} }
else else
toast(Res.data.errorMessage, { type: "error" }) toast(Res.data.errorMessage, { type: "error" })
}}>Add to Bookmarks</Button> }}>Subscribe</Button>
} }
</Song> </Song>
}) })