Skip to content

fix: replace string ref with React.createRef() in Toolbar component#460

Merged
samuelnakazawa merged 1 commit intoglobocom:masterfrom
ritoban23:fix/replace-string-ref-with-createref
Nov 13, 2025
Merged

fix: replace string ref with React.createRef() in Toolbar component#460
samuelnakazawa merged 1 commit intoglobocom:masterfrom
ritoban23:fix/replace-string-ref-with-createref

Conversation

@ritoban23
Copy link
Contributor

Related Issue

Fixes #373

Proposed Changes

  • Replace deprecated string ref "toolbarWrapper" in Toolbar.js with React.createRef()
  • Update constructor to initialize toolbarWrapperRef
  • Use ref={this.toolbarWrapperRef} in the Toolbar render method
  • All tests pass and no new warnings are introduced

@samuelnakazawa samuelnakazawa merged commit a0eebfd into globocom:master Nov 13, 2025
5 checks passed
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.

Warning: A string ref, "toolbarWrapper", has been found within a strict mode tree.

2 participants