fix: Error on release and collection page if user isn't authorized

This commit is contained in:
Kentai Radiquum 2024-08-27 14:27:49 +05:00
parent ea44bbf0e1
commit 5b68da425b
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ export const ReleaseInfoUserList = (props: {
setUserList: any;
setIsFavorite: any;
collection_count: number;
profile_id: number;
profile_id: number | null;
}) => {
const [AddReleaseToCollectionModalOpen, setAddReleaseToCollectionModalOpen] =
useState(false);