Skip to content

Commit a5ef46f

Browse files
committed
chore: refactor useScroll
1 parent a456679 commit a5ef46f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/masterbots.ai/lib/hooks/use-thread.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface ThreadContext {
1717
isNewResponse: boolean
1818
sectionRef: React.RefObject<HTMLElement>
1919
isAtBottom: boolean
20-
isAtBottomOfSection: boolean // Added this property
20+
isAtBottomOfSection: boolean
2121
randomChatbot: Chatbot | null
2222
isAdminMode: boolean
2323
webSearch: boolean
@@ -167,7 +167,7 @@ export function ThreadProvider({ children }: ThreadProviderProps) {
167167
isNewResponse,
168168
isOpenPopup,
169169
isAtBottom: isNearBottom,
170-
isAtBottomOfSection, // Include the new property
170+
isAtBottomOfSection,
171171
sectionRef,
172172
randomChatbot,
173173
isAdminMode,

0 commit comments

Comments
 (0)