Next.js 16, React 19.2, Identities page, Invitations identities step, PNPM Catalogs (#381)
* Upgraded to Next.js 16 * Refactored code to comply with React 19.2 ESLint rules * Refactored some useEffect usages with the new useEffectEvent * Added Identities page and added second step to set up an identity after accepting an invitation * Updated all dependencies * Introduced PNPM catalogs for some frequently updated dependencies * Bugs fixing and improvements
This commit is contained in:
committed by
GitHub
parent
ea0c1dde80
commit
2c0d0bf7a1
@@ -196,19 +196,23 @@ export const useSupabaseUpload = (options: UseSupabaseUploadOptions) => {
|
||||
|
||||
setLoading(false);
|
||||
}, [
|
||||
files,
|
||||
path,
|
||||
bucketName,
|
||||
errors,
|
||||
successes,
|
||||
onUploadSuccess,
|
||||
client,
|
||||
cacheControl,
|
||||
client.storage,
|
||||
errors,
|
||||
files,
|
||||
onUploadSuccess,
|
||||
setLoading,
|
||||
setErrors,
|
||||
setSuccesses,
|
||||
path,
|
||||
successes,
|
||||
upsert,
|
||||
]);
|
||||
|
||||
useEffect(() => {
|
||||
if (files.length === 0) {
|
||||
// eslint-disable-next-line react-hooks/set-state-in-effect
|
||||
setErrors([]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user