Skip to content

Commit

Permalink
feat: revamp file system for efficient data management (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulyadav-57 committed Sep 17, 2024
1 parent 143f54a commit bb73b38
Show file tree
Hide file tree
Showing 78 changed files with 2,019 additions and 2,344 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-extra-non-null-assertion": "error",
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-for-in-array": "error",
"no-implied-eval": "off",
"@typescript-eslint/no-implied-eval": "error",
Expand All @@ -71,7 +71,7 @@ module.exports = {
"@typescript-eslint/no-loss-of-precision": "error",
"@typescript-eslint/no-meaningless-void-operator": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-mixed-enums": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const nextConfig = withTM({
if (!options.isServer) {
config.plugins.push(
new MonacoWebpackPlugin({
languages: ["typescript"],
languages: ["typescript", "json"],
filename: "static/[name].worker.js",
}),
);
Expand Down
128 changes: 43 additions & 85 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 @@ -13,6 +13,7 @@
"dependencies": {
"@codingame/monaco-jsonrpc": "^0.3.1",
"@codingame/monaco-languageclient": "^0.17.0",
"@isomorphic-git/lightning-fs": "^4.6.0",
"@minoru/react-dnd-treeview": "^3.4.1",
"@monaco-editor/react": "^4.5.1",
"@orbs-network/ton-access": "^2.3.0",
Expand Down Expand Up @@ -51,7 +52,6 @@
"react-dnd": "^16.0.1",
"react-dom": "18.2.0",
"react-icons": "^4.8.0",
"react-joyride": "^2.5.4",
"react-markdown": "^9.0.1",
"react-split": "^2.0.14",
"react-syntax-highlighter": "^15.5.0",
Expand Down
3 changes: 0 additions & 3 deletions src/components/auth/TonAuth/TonAuth.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useAuthAction } from '@/hooks/auth.hooks';
import { ConnectedWallet, useTonConnectUI } from '@tonconnect/ui-react';
import { Button } from 'antd';
import Image from 'next/image';
Expand All @@ -8,7 +7,6 @@ import s from './TonAuth.module.scss';
const TonAuth: FC = () => {
const [tonConnector] = useTonConnectUI();
const [isConnected, setIsConnected] = useState(false);
const { updateAuth } = useAuthAction();

const handleConnectWallet = async () => {
try {
Expand All @@ -32,7 +30,6 @@ const TonAuth: FC = () => {
tonConnector.onStatusChange((wallet: ConnectedWallet | null) => {
if (!wallet || !tonConnector.connected) return;
setIsConnected(Boolean(wallet) || tonConnector.connected);
updateAuth({ walletAddress: wallet.account.address });
});
}, []);

Expand Down
32 changes: 0 additions & 32 deletions src/components/dashboard/Dashboard/Dashboard.module.scss

This file was deleted.

25 changes: 0 additions & 25 deletions src/components/dashboard/Dashboard/Dashboard.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/components/dashboard/Dashboard/index.ts

This file was deleted.

Loading

0 comments on commit bb73b38

Please sign in to comment.