Skip to content

Commit

Permalink
Downgraded React and react-query to versions 17 and 4 respectively, f…
Browse files Browse the repository at this point in the history
…or compatibility reasons
  • Loading branch information
tombch committed Jul 1, 2024
1 parent 27a85f5 commit c825e79
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 19 deletions.
4 changes: 2 additions & 2 deletions lib/Onyx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import LoadingAlert from "./components/LoadingAlert";
import "./Onyx.css";
import "./bootstrap.css";

const VERSION = "0.10.0";
const VERSION = "0.10.1";

type ProjectField = {
type: string;
Expand Down Expand Up @@ -444,7 +444,7 @@ function Data(props: DataProps) {
{...props}
handleSearch={setSearchParameters}
resultPending={resultPending}
resultError={resultError}
resultError={resultError instanceof Error ? resultError : null}
resultData={resultData}
/>
</Stack>
Expand Down
45 changes: 32 additions & 13 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "climb-onyx-gui",
"version": "0.10.0",
"version": "0.10.1",
"type": "module",
"main": "dist/climb-onyx-gui.js",
"types": "dist/main.d.ts",
Expand All @@ -18,14 +18,14 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"@tanstack/react-query": "^5.45.1",
"@tanstack/react-query": "^4.36.1",
"export-to-csv": "^1.3.0",
"react-bootstrap": "^2.10.2",
"react-select": "^5.8.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@types/node": "^20.12.12",
Expand Down

0 comments on commit c825e79

Please sign in to comment.