mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #4111 from overleaf/jpa-fix-re-compile-react
[frontend] fix re-compile button in react sending an event as options GitOrigin-RevId: 69dcebc3c74c89189f18715d5adf0e6329eb1ef6
This commit is contained in:
parent
1c2314a854
commit
b4d80de408
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ function PreviewRecompileButton({
|
|||
id="pdf-recompile-dropdown"
|
||||
className={recompileButtonGroupClasses}
|
||||
>
|
||||
<button className="btn btn-recompile" onClick={onRecompile}>
|
||||
<button className="btn btn-recompile" onClick={() => onRecompile()}>
|
||||
<Icon type="refresh" spin={isCompiling} />
|
||||
|
||||
<span id="text-compiling" className="toolbar-text" {...compilingProps}>
|
||||
|
|
Loading…
Reference in a new issue