Skip to content

Commit

Permalink
fixed buildability of the project. Temporarily removed SecretSwapSite…
Browse files Browse the repository at this point in the history
… folder
  • Loading branch information
dredshep committed Aug 19, 2024
1 parent f7e0c7f commit eb3a4ae
Show file tree
Hide file tree
Showing 60 changed files with 804 additions and 19,201 deletions.
21 changes: 12 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended" // Add this line
],
"parser": "@typescript-eslint/parser", // Specify the parser
"plugins": [
"@typescript-eslint" // Include the plugin
],
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"no-restricted-globals": ["error", "globalThis"],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "warn"
}
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
]
}
16 changes: 8 additions & 8 deletions components/app/Global/UserWallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import { useModalStore } from "@/store/modalStore";
import WalletModal from "./WalletModal";
import { useWalletStore } from "@/store/walletStore";

interface UserWalletProps {
// isConnected: boolean;
// userAddress: SecretString;
// balanceSCRT: number;
// balanceADMT: number;
// onConnect: () => void;
}
// interface UserWalletProps {
// // isConnected: boolean;
// // userAddress: SecretString;
// // balanceSCRT: number;
// // balanceADMT: number;
// // onConnect: () => void;
// }

const UserWallet: React.FC<UserWalletProps> = (
const UserWallet: React.FC = (
{
// isConnected,
// userAddress,
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/themes": "^2.0.3",
"@shadeprotocol/shadejs": "^1.5.4",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"@typescript-eslint/typescript-estree": "^7.12.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"@typescript-eslint/typescript-estree": "^8.2.0",
"async-await-retry": "^2.1.0",
"axios": "^1.7.2",
"bignumber.js": "^9.1.2",
Expand All @@ -36,6 +36,7 @@
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"decimal.js": "^10.4.3",
"eslint": "8",
"gray-matter": "^4.0.3",
"lucide-react": "^0.362.0",
"marked": "^12.0.2",
Expand Down Expand Up @@ -65,8 +66,7 @@
"@types/react-dom": "^18.3.0",
"@types/seedrandom": "^3.0.8",
"autoprefixer": "^10.4.19",
"eslint": "8",
"eslint-config-next": "14.1.3",
"eslint-config-next": "^14.2.5",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"typescript": "^5.5.4"
Expand Down
94 changes: 0 additions & 94 deletions pages/app/testing/decimals/index.tsx

This file was deleted.

Loading

0 comments on commit eb3a4ae

Please sign in to comment.