Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix #1790 #1877

Merged
merged 6 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion infra/rooch-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@emotion/cache": "11.10.5",
"@emotion/react": "11.10.6",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
Expand Down Expand Up @@ -69,6 +70,7 @@
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.0.8"
"vite": "^5.0.8",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,7 @@ export const TransactionsTable = () => {
<TableCell>
<div className="flex flex-col md:flex-row items-start md:items-center justify-start gap-1">
<span className="hover:no-underline text-blue-400 hover:text-blue-500 dark:text-blue-300 dark:hover:text-blue-200 transition-all cursor-pointer">
<p>
{formatAddress(
(tx.transaction.data as LedgerTxDataView1).sender.toUpperCase(),
)}
</p>
<p>{formatAddress((tx.transaction.data as LedgerTxDataView1).sender)}</p>
</span>
</div>
</TableCell>
Expand Down
4 changes: 2 additions & 2 deletions infra/rooch-portal/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import path from 'path'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
import { nodePolyfills } from 'vite-plugin-node-polyfills'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react(), nodePolyfills()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@
"rimraf": "^3.0.2",
"eslint-config-next": "13.2.4",
"eslint-import-resolver-alias": "1.1.2"
},
"resolutions": {
"esbuild": "^0.17.19"
}
}
Loading
Loading