fix: cluster worker config issues
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { createContext, useContext } from 'react';
|
||||
|
||||
interface ScrollerContextProps {
|
||||
scrollToBottom: () => void;
|
||||
}
|
||||
|
||||
export const ScrollerContext = createContext<ScrollerContextProps>({
|
||||
scrollToBottom: () => {}
|
||||
});
|
||||
|
||||
export const useScrollerContext = () => useContext(ScrollerContext);
|
||||
Reference in New Issue
Block a user