Skip to content

Commit

Permalink
⚡ minor type improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Joliwood committed May 29, 2024
1 parent d0b792b commit f04cd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/profilePage/ProfileUpdateAlbum.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ProfileUpdateAlbum = (props: Props): JSX.Element => {
);
const [songsUserHas, setSongsUserHas] = useState<UserSongsQueryQuery['songs']>(album.songs ?? []);
const songsAlbumHas = album.songs;
const [selectedSongs, setSelectedSongs] = useState<Song[]>(songsAlbumHas as Song[] ?? []);
const [selectedSongs, setSelectedSongs] = useState<Song[]>(songsAlbumHas as Song[]);
const newToast = useNewToast();

const { data, loading } = useQuery<UserSongsQueryQuery, UserSongsQueryQueryVariables>(
Expand Down

0 comments on commit f04cd45

Please sign in to comment.