Skip to content

fix: type AppContext containerRef as RefObject#207

Open
saschabuehrle wants to merge 1 commit into
ioflux-org:mainfrom
saschabuehrle:fix/issue-206-refobject
Open

fix: type AppContext containerRef as RefObject#207
saschabuehrle wants to merge 1 commit into
ioflux-org:mainfrom
saschabuehrle:fix/issue-206-refobject

Conversation

@saschabuehrle

Copy link
Copy Markdown

Fixes #206

containerRef is created with useRef, so the context type should be RefObject<HTMLDivElement> instead of the broader Ref union. This keeps the context contract aligned with how the value is actually used.

Greetings, saschabuehrle

@adityayadav-dev

Copy link
Copy Markdown
Contributor

Hey @saschabuehrle, just a quick note — since this issue is already assigned, it’s usually good to confirm with the assignee or maintainer before opening a PR to avoid duplicate work.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Ref type imported from React but should be RefObject

2 participants