mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 23:32:40 +02:00
chore: linting
This commit is contained in:
parent
89c96c1a23
commit
c6e1a04169
19 changed files with 327 additions and 196 deletions
|
|
@ -47,7 +47,8 @@ export function PublicChatSnapshotsManager({
|
|||
!!access && (access.is_owner || (access.permissions?.includes("public_sharing:view") ?? false));
|
||||
|
||||
const canDelete =
|
||||
!!access && (access.is_owner || (access.permissions?.includes("public_sharing:delete") ?? false));
|
||||
!!access &&
|
||||
(access.is_owner || (access.permissions?.includes("public_sharing:delete") ?? false));
|
||||
|
||||
// Mutations
|
||||
const { mutateAsync: deleteSnapshot } = useAtomValue(deletePublicChatSnapshotMutationAtom);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue