Skip to content

Commit

Permalink
chore: update react-science to pre release version 0.30.2-pre.1702391005
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Dec 12, 2023
1 parent 5ec9c6a commit 20e8a05
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"react-ocl-nmr": "^3.0.1",
"react-plot": "^1.4.2",
"react-rnd": "^10.4.1",
"react-science": "^0.30.1",
"react-science": "0.30.2-pre.1702391005",
"react-slider": "^2.0.6",
"react-table": "^7.8.0",
"react-transition-group": "^4.4.5",
Expand Down
5 changes: 2 additions & 3 deletions src/component/toolbar/BasicToolBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ function BasicToolBarInner({
options={exportMenu}
renderTarget={(targetProps) => (
<div {...targetProps} style={{ flex: 'none' }}>
{' '}
<Toolbar.Item
id={options.exportAs.id}
title={options.import.label}
Expand Down Expand Up @@ -302,13 +301,13 @@ function BasicToolBarInner({
onClick={alignSpectrumsVerticallyHandler}
className="cheminfo"
icon={
<div style={{ fontSize: 24 }}>
<>
{verticalAlign === 'bottom' ? (
<SvgNmrAlignCenter />
) : (
<SvgNmrAlignBottom />
)}
</div>
</>
}
/>

Check warning on line 312 in src/component/toolbar/BasicToolBar.tsx

View check run for this annotation

Codecov / codecov/patch

src/component/toolbar/BasicToolBar.tsx#L303-L312

Added lines #L303 - L312 were not covered by tests
)}
Expand Down

0 comments on commit 20e8a05

Please sign in to comment.