Skip to content

Commit 6215c06

Browse files
author
Saqib
committed
Revert changes after b18e0c6
1 parent a030ba0 commit 6215c06

4 files changed

Lines changed: 49 additions & 53 deletions

File tree

app/[locale]/dashboard/ai-maker/audits/new/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import { toTitleCase } from '@/lib/utils';
1111
import { useGraphQL } from '@/lib/api';
1212
import AuditConfiguration from '../components/AuditConfiguration';
1313
import TestCases from '../components/TestCases';
14-
import dynamic from 'next/dynamic';
15-
const AuditResults = dynamic(() => import('../components/AuditResults'), { ssr: false });
14+
import AuditResults from '../components/AuditResults';
1615
import type { AuditType, SelectOption, Module } from '../components/types';
1716

1817
// GraphQL queries for dynamic modules and metrics

next.config.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ const nextConfig = {
1111
},
1212
],
1313
},
14-
webpack: (config) => {
15-
config.resolve.alias = {
16-
...config.resolve.alias,
17-
'react-leaflet-fullscreen': false,
18-
};
19-
return config;
20-
},
2114
};
2215

2316
module.exports = nextConfig;

package-lock.json

Lines changed: 46 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"gtag": "^1.0.1",
3838
"holy-loader": "^2.2.10",
3939
"jwt-decode": "^4.0.0",
40+
"leaflet": "^1.9.4",
4041
"lucide-react": "^0.544.0",
4142
"next": "^14.0.4",
4243
"next-auth": "^4.24.7",
@@ -47,6 +48,7 @@
4748
"react": "^18.2.0",
4849
"react-aria": "3.22.0",
4950
"react-dom": "^18.2.0",
51+
"react-leaflet": "^4.2.1",
5052
"react-markdown": "^10.1.0",
5153
"rehype-raw": "^7.0.0",
5254
"remark-gfm": "^4.0.1",
@@ -72,11 +74,9 @@
7274
"eslint-config-prettier": "^9.1.0",
7375
"husky": "^9.0.11",
7476
"jiti": "^1.21.0",
75-
"leaflet": "^1.9.4",
7677
"opub-tokens": "latest",
7778
"prettier": "^3.2.4",
7879
"prettier-plugin-tailwindcss": "^0.5.11",
79-
"react-leaflet": "^4.2.1",
8080
"release-it": "^17.1.1",
8181
"typescript": "^5.0.4"
8282
},

0 commit comments

Comments
 (0)