fix(web): resolve TypeScript type errors in workflow components (#27086)
This commit is contained in:
@@ -8,8 +8,8 @@ export enum ScrollPosition {
|
||||
}
|
||||
|
||||
type Params = {
|
||||
wrapElemRef: React.RefObject<HTMLElement>
|
||||
nextToStickyELemRef: React.RefObject<HTMLElement>
|
||||
wrapElemRef: React.RefObject<HTMLElement | null>
|
||||
nextToStickyELemRef: React.RefObject<HTMLElement | null>
|
||||
}
|
||||
const useStickyScroll = ({
|
||||
wrapElemRef,
|
||||
|
||||
Reference in New Issue
Block a user