fix: cluster worker config issues

This commit is contained in:
jialin
2025-12-18 17:29:07 +08:00
parent e83bff6923
commit 78368e9979
21 changed files with 112 additions and 43 deletions
@@ -0,0 +1,11 @@
import { createContext, useContext } from 'react';
interface ScrollerContextProps {
scrollToBottom: () => void;
}
export const ScrollerContext = createContext<ScrollerContextProps>({
scrollToBottom: () => {}
});
export const useScrollerContext = () => useContext(ScrollerContext);