mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-01 11:56:25 +02:00
chore: frontend linting
This commit is contained in:
parent
f67ff41790
commit
80f83e32c6
14 changed files with 106 additions and 100 deletions
|
|
@ -48,12 +48,9 @@ export const addingCommentToMessageIdAtom = atom(
|
|||
);
|
||||
|
||||
// Setter atom for updating thread visibility
|
||||
export const setThreadVisibilityAtom = atom(
|
||||
null,
|
||||
(get, set, newVisibility: ChatVisibility) => {
|
||||
set(currentThreadAtom, { ...get(currentThreadAtom), visibility: newVisibility });
|
||||
}
|
||||
);
|
||||
export const setThreadVisibilityAtom = atom(null, (get, set, newVisibility: ChatVisibility) => {
|
||||
set(currentThreadAtom, { ...get(currentThreadAtom), visibility: newVisibility });
|
||||
});
|
||||
|
||||
export const resetCurrentThreadAtom = atom(null, (_, set) => {
|
||||
set(currentThreadAtom, initialState);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue