Skip to content

Commit 8701947

Browse files
committed
fix: build with nextjs 15
1 parent 2be4938 commit 8701947

File tree

192 files changed

+2589
-227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+2589
-227
lines changed

components/common/FeatureBridges.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import Icons from "@/icons/components/index";
2+
import * as Icons from "@/icons/components/index";
33
import { cx } from "utils";
44

55
type Props = {};

components/common/FeatureCentralisedExchanges.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import Icons from "@/icons/components/index";
2+
import * as Icons from "@/icons/components/index";
33
import { cx } from "utils";
44

55
type Props = {};

components/common/FeatureExchanges.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import Icons from "@/icons/components/index";
2+
import * as Icons from "@/icons/components/index";
33
import { cx } from "utils";
44

55
type Props = {};

components/common/Icon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import Icons, { KademliaIcon, ScalableIcon } from "@/icons/components/index";
2+
import * as Icons from "@/icons/components/index";
33
import Image from "next/image";
44

55
const icons: any = {

icons/components/ArrowIcon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const React = require("react");
1+
import React from "react";
22
import { forwardRef } from "react";
33
const ArrowIcon = ({
44
title,
@@ -17,4 +17,4 @@ const ArrowIcon = ({
1717
fill: "currentColor"
1818
}));
1919
const ForwardRef = forwardRef(ArrowIcon);
20-
module.exports = ForwardRef;
20+
export default ForwardRef;

icons/components/BoxArrowIcon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const React = require("react");
1+
import React from "react";
22
import { forwardRef } from "react";
33
const BoxArrowIcon = ({
44
title,
@@ -17,4 +17,4 @@ const BoxArrowIcon = ({
1717
d: "M34.53 10.87c.22-.38.09-.87-.29-1.1L17.32 0 0 10v20l17.32 10 16.92-9.77a.8.8 0 0 0 .29-1.1.8.8 0 0 0-1.1-.29l-16.12 9.3-15.7-9.07V10.93l15.71-9.08 16.12 9.3c.38.22.88.09 1.1-.29Z"
1818
}));
1919
const ForwardRef = forwardRef(BoxArrowIcon);
20-
module.exports = ForwardRef;
20+
export default ForwardRef;

icons/components/BuildersIcon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const React = require("react");
1+
import React from "react";
22
import { forwardRef } from "react";
33
const BuildersIcon = ({
44
title,
@@ -42,4 +42,4 @@ const BuildersIcon = ({
4242
strokeLinejoin: "round"
4343
}));
4444
const ForwardRef = forwardRef(BuildersIcon);
45-
module.exports = ForwardRef;
45+
export default ForwardRef;

icons/components/BzzarIcon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const React = require("react");
1+
import React from "react";
22
import { forwardRef } from "react";
33
const BzzarIcon = ({
44
title,
@@ -24,4 +24,4 @@ const BzzarIcon = ({
2424
d: "M0 0h24v24H0z"
2525
}))));
2626
const ForwardRef = forwardRef(BzzarIcon);
27-
module.exports = ForwardRef;
27+
export default ForwardRef;

icons/components/CoinGeckoIcon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const React = require("react");
1+
import React from "react";
22
import { forwardRef } from "react";
33
const CoinGeckoIcon = ({
44
title,
@@ -69,4 +69,4 @@ const CoinGeckoIcon = ({
6969
fill: "white"
7070
}))));
7171
const ForwardRef = forwardRef(CoinGeckoIcon);
72-
module.exports = ForwardRef;
72+
export default ForwardRef;

icons/components/CoinMarketCapIcon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const React = require("react");
1+
import React from "react";
22
import { forwardRef } from "react";
33
const CoinMarketCapIcon = ({
44
title,
@@ -22,4 +22,4 @@ const CoinMarketCapIcon = ({
2222
fill: "white"
2323
}));
2424
const ForwardRef = forwardRef(CoinMarketCapIcon);
25-
module.exports = ForwardRef;
25+
export default ForwardRef;

0 commit comments

Comments
 (0)