Fix misuse of Hooks with useRef (#24)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/24
This commit is contained in:
parent
ac56f84196
commit
d11dfec22b
9 changed files with 76 additions and 27 deletions
|
@ -72,9 +72,9 @@ const Editor: React.FunctionComponent<IEditorProps> = (props) => {
|
|||
setHistory,
|
||||
setHistoryCurrentStep
|
||||
)}
|
||||
OnPropertiesSubmit={(event, refs) => OnPropertiesSubmit(
|
||||
OnPropertiesSubmit={(event, properties) => OnPropertiesSubmit(
|
||||
event,
|
||||
refs,
|
||||
properties,
|
||||
history,
|
||||
historyCurrentStep,
|
||||
setHistory,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue