Skip to content

Commit

Permalink
Merge pull request #808 from ionicprotocol/feat/upgrade-next-react
Browse files Browse the repository at this point in the history
Upgrade nextjs 14->15 & react 18->19
  • Loading branch information
rhlsthrm authored Nov 27, 2024
2 parents af2ed46 + 2b3dab2 commit def3268
Show file tree
Hide file tree
Showing 3 changed files with 727 additions and 206 deletions.
2 changes: 0 additions & 2 deletions packages/ui/app/market/details/[asset]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ const Asset = () => {
selectedMarketData,
Number(chain)
);
console.log('irmData', irmData);

// const availableAPR = assetData?.cToken ? supplyAPYs?.[assetData?.cToken] : 0;
const totalSupplied = assetData?.totalSupplyNative
Expand Down Expand Up @@ -172,7 +171,6 @@ const Asset = () => {
.from('asset_total_apy_history')
.select('*')
.ilike('ctoken_address', cTokenAddress as string);
console.log('data', data);

if (error) {
throw new Error(`HTTP error! Status: ${error.message}`);
Expand Down
8 changes: 4 additions & 4 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
"lucide-react": "^0.454.0",
"mathjs": "^13.2.0",
"millify": "^6.1.0",
"next": "^14.2.5",
"next": "^15.0.3",
"next-nprogress-bar": "^2.3.12",
"nextjs-progressbar": "^0.0.16",
"react": "^18.3.1",
"react": "19.0.0-rc.1",
"react-chartjs-2": "^5.2.0",
"react-confetti": "^6.1.0",
"react-day-picker": "8.10.1",
"react-dom": "^18.3.1",
"react-dom": "19.0.0-rc.1",
"react-hot-toast": "^2.4.1",
"react-loader-spinner": "^6.1.6",
"tailwind-merge": "^2.5.4",
Expand All @@ -67,7 +67,7 @@
"@types/react-dom": "^18",
"autoprefixer": "^10.4.19",
"eslint": "^8",
"eslint-config-next": "^14.1.4",
"eslint-config-next": "^15.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
Expand Down
Loading

0 comments on commit def3268

Please sign in to comment.