Skip to content

Commit

Permalink
Refactor artist biography to use spoiler
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffvli committed Feb 2, 2024
1 parent 095edfd commit aca6826
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ServerType,
SortOrder,
} from '/@/renderer/api/types';
import { Button, Text, TextTitle } from '/@/renderer/components';
import { Button, Spoiler, TextTitle } from '/@/renderer/components';
import { MemoizedSwiperGridCarousel } from '/@/renderer/components/grid-carousel';
import { getColumnDefs, VirtualTable } from '/@/renderer/components/virtual-table';
import { useAlbumList } from '/@/renderer/features/albums/queries/album-list-query';
Expand Down Expand Up @@ -465,11 +465,8 @@ export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailConten
>
About {detailQuery?.data?.name}
</TextTitle>
<Text
$secondary
component="p"
<Spoiler
dangerouslySetInnerHTML={{ __html: detailQuery?.data?.biography || '' }}
sx={{ textAlign: 'justify' }}
/>
</Box>
) : null}
Expand Down

0 comments on commit aca6826

Please sign in to comment.