Skip to content

Commit f73be1a

Browse files
author
Theodore Li
committed
Fix lint
1 parent 6fbf999 commit f73be1a

File tree

1 file changed

+1
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/home/hooks

1 file changed

+1
-2
lines changed

apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,7 @@ export function useChat(
521521
return b
522522
}
523523

524-
const isStale = () =>
525-
expectedGen !== undefined && streamGenRef.current !== expectedGen
524+
const isStale = () => expectedGen !== undefined && streamGenRef.current !== expectedGen
526525

527526
const flush = () => {
528527
if (isStale()) return

0 commit comments

Comments
 (0)