mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: add noUnusedLocals and noUnusedParameters rules (#3476)
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
@@ -132,7 +132,7 @@ const getFollowingUpAtoms = (
|
||||
const baseAtom = atomWithDefault<Promise<string[]> | string[]>(async () => {
|
||||
return chatHistory?.getFollowingUp() ?? [];
|
||||
});
|
||||
const setAtom = atom<null, [], void>(null, async (get, set) => {
|
||||
const setAtom = atom<null, [], void>(null, async (_, set) => {
|
||||
if (!followupLLMChain || !chatHistory) {
|
||||
throw new Error('followupLLMChain not set');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user