refactored link state management + a lot of other changes...
This commit is contained in:
@@ -46,7 +46,7 @@ export default function EditCollectionSharingModal({
|
||||
}
|
||||
};
|
||||
|
||||
const { data: user } = useUser();
|
||||
const { data: user = {} } = useUser();
|
||||
const permissions = usePermissions(collection.id as number);
|
||||
|
||||
const currentURL = new URL(document.URL);
|
||||
|
||||
Reference in New Issue
Block a user