diff --git a/apps/entropy-explorer/next.config.js b/apps/entropy-explorer/next.config.js
index 99436c39c8..8c1b95438e 100644
--- a/apps/entropy-explorer/next.config.js
+++ b/apps/entropy-explorer/next.config.js
@@ -1,4 +1,8 @@
const config = {
+ experimental: {
+ reactCompiler: true,
+ },
+
reactStrictMode: true,
pageExtensions: ["ts", "tsx", "mdx"],
diff --git a/apps/entropy-explorer/package.json b/apps/entropy-explorer/package.json
index 6a419a99ae..e358138090 100644
--- a/apps/entropy-explorer/package.json
+++ b/apps/entropy-explorer/package.json
@@ -45,6 +45,7 @@
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "catalog:",
+ "babel-plugin-react-compiler": "catalog:",
"eslint": "catalog:",
"jest": "catalog:",
"postcss": "catalog:",
diff --git a/apps/entropy-explorer/src/components/Home/chain-select.tsx b/apps/entropy-explorer/src/components/Home/chain-select.tsx
index e3f7bcf8bd..4d7216ee8e 100644
--- a/apps/entropy-explorer/src/components/Home/chain-select.tsx
+++ b/apps/entropy-explorer/src/components/Home/chain-select.tsx
@@ -96,7 +96,7 @@ const useResolvedProps = () => {
textValue: chainTextValue,
buttonLabel: viemChain?.name ?? "Chain",
...(viemChain && {
- icon: () => ,
+ icon: ,
}),
};
};
diff --git a/apps/entropy-explorer/src/components/Home/request-drawer.tsx b/apps/entropy-explorer/src/components/Home/request-drawer.tsx
index a20f7ab0ad..a0c6b911e5 100644
--- a/apps/entropy-explorer/src/components/Home/request-drawer.tsx
+++ b/apps/entropy-explorer/src/components/Home/request-drawer.tsx
@@ -65,7 +65,6 @@ const RequestDrawerBody = ({ request }: { request: Request }) => {
label="Details"
fill
className={styles.details ?? ""}
- stickyHeader
columns={[
{
id: "field",
@@ -254,7 +253,7 @@ const CallbackFailedInfo = ({ request }: { request: CallbackErrorRequest }) => {
}
rounded
hideText
href="https://docs.pyth.network/entropy/debug-callback-failures"
diff --git a/apps/entropy-explorer/src/components/Home/results.tsx b/apps/entropy-explorer/src/components/Home/results.tsx
index 4dc1364580..44f3a153b5 100644
--- a/apps/entropy-explorer/src/components/Home/results.tsx
+++ b/apps/entropy-explorer/src/components/Home/results.tsx
@@ -207,6 +207,7 @@ const defaultProps = {
label: "Requests",
rounded: true,
fill: true,
+ stickyHeader: "appHeader",
columns: [
{
id: "chain" as const,
diff --git a/apps/insights/next.config.js b/apps/insights/next.config.js
index eb71181ccb..9b8daf41b2 100644
--- a/apps/insights/next.config.js
+++ b/apps/insights/next.config.js
@@ -1,12 +1,13 @@
const config = {
- reactStrictMode: true,
-
- pageExtensions: ["ts", "tsx", "mdx"],
-
experimental: {
useCache: true,
+ reactCompiler: true,
},
+ reactStrictMode: true,
+
+ pageExtensions: ["ts", "tsx", "mdx"],
+
logging: {
fetches: {
fullUrl: true,
diff --git a/apps/insights/package.json b/apps/insights/package.json
index c235f3531d..75e7a92ce2 100644
--- a/apps/insights/package.json
+++ b/apps/insights/package.json
@@ -12,7 +12,7 @@
"fix:lint:eslint": "eslint --fix .",
"fix:lint:stylelint": "stylelint --fix 'src/**/*.scss'",
"pull:env": "[ $CI ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_TBkf9EyQjQF37gs4Vk0sQKJj97kE vercel env pull",
- "start:dev": "next dev --port 3003 --turbopack",
+ "start:dev": "next dev --port 3003",
"start:prod": "next start --port 3003",
"test:format": "prettier --check .",
"test:lint:eslint": "eslint . --max-warnings 0",
@@ -58,6 +58,7 @@
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "catalog:",
+ "babel-plugin-react-compiler": "catalog:",
"eslint": "catalog:",
"jest": "catalog:",
"postcss": "catalog:",
diff --git a/apps/insights/src/components/Explain/index.tsx b/apps/insights/src/components/Explain/index.tsx
index d76036bc8a..a1b6199278 100644
--- a/apps/insights/src/components/Explain/index.tsx
+++ b/apps/insights/src/components/Explain/index.tsx
@@ -17,7 +17,7 @@ export const Explain = ({ size, title, children }: Props) => (
className={styles.trigger ?? ""}
variant="ghost"
size={size}
- beforeIcon={(props) => }
+ beforeIcon={}
rounded
hideText
alert={{
diff --git a/apps/insights/src/components/PriceComponentDrawer/index.tsx b/apps/insights/src/components/PriceComponentDrawer/index.tsx
index 1861f92c6d..1fa50c61b1 100644
--- a/apps/insights/src/components/PriceComponentDrawer/index.tsx
+++ b/apps/insights/src/components/PriceComponentDrawer/index.tsx
@@ -270,7 +270,7 @@ const HeadingExtra = ({ status, ...props }: HeadingExtraProps) => {
}
rounded
className={styles.ghostOpenButton ?? ""}
{...props}
diff --git a/apps/insights/src/components/PriceComponentsCard/index.tsx b/apps/insights/src/components/PriceComponentsCard/index.tsx
index b1c485ec17..e50f38eb42 100644
--- a/apps/insights/src/components/PriceComponentsCard/index.tsx
+++ b/apps/insights/src/components/PriceComponentsCard/index.tsx
@@ -489,7 +489,7 @@ export const PriceComponentsCardContents = <
label={label}
fill
rounded
- stickyHeader
+ stickyHeader="appHeader"
className={styles.table ?? ""}
columns={[
{
diff --git a/apps/insights/src/components/PriceFeed/header.tsx b/apps/insights/src/components/PriceFeed/header.tsx
index 81fffd2b9a..69f3971f09 100644
--- a/apps/insights/src/components/PriceFeed/header.tsx
+++ b/apps/insights/src/components/PriceFeed/header.tsx
@@ -135,7 +135,7 @@ const PriceFeedHeaderImpl = (props: PriceFeedHeaderImplProps) => (
}
isPending={props.isLoading}
{...(!props.isLoading && {
drawer: {
diff --git a/apps/insights/src/components/PriceFeed/reference-data.tsx b/apps/insights/src/components/PriceFeed/reference-data.tsx
index 38a0c3a3ab..b69d5a1fe6 100644
--- a/apps/insights/src/components/PriceFeed/reference-data.tsx
+++ b/apps/insights/src/components/PriceFeed/reference-data.tsx
@@ -105,7 +105,7 @@ export const ReferenceData = ({ feed }: Props) => {
{
return (
{
Coming Soon
diff --git a/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx b/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx
index 4b156432d3..289467a675 100644
--- a/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx
+++ b/apps/insights/src/components/PriceFeeds/price-feeds-card.tsx
@@ -319,7 +319,7 @@ const PriceFeedsCardContents = ({ id, ...props }: PriceFeedsCardContents) => (
rounded
fill
label="Price Feeds"
- stickyHeader
+ stickyHeader="appHeader"
className={styles.table ?? ""}
columns={[
{
diff --git a/apps/insights/src/components/Publisher/layout.tsx b/apps/insights/src/components/Publisher/layout.tsx
index ba9ef3edef..7a2abfa3c3 100644
--- a/apps/insights/src/components/Publisher/layout.tsx
+++ b/apps/insights/src/components/Publisher/layout.tsx
@@ -494,7 +494,7 @@ const OisPoolCardImpl = (props: OisPoolCardImplProps) => (
size="sm"
href="https://staking.pyth.network"
target="_blank"
- beforeIcon={Browsers}
+ beforeIcon={}
>
Open Staking App
@@ -503,7 +503,7 @@ const OisPoolCardImpl = (props: OisPoolCardImplProps) => (
size="sm"
href="https://docs.pyth.network/home/oracle-integrity-staking"
target="_blank"
- beforeIcon={BookOpenText}
+ beforeIcon={}
>
Documentation
diff --git a/apps/insights/src/components/Publishers/index.tsx b/apps/insights/src/components/Publishers/index.tsx
index 5d146fdcf5..39b2228dec 100644
--- a/apps/insights/src/components/Publishers/index.tsx
+++ b/apps/insights/src/components/Publishers/index.tsx
@@ -91,7 +91,7 @@ export const Publishers = async () => {
target="_blank"
size="sm"
variant="outline"
- afterIcon={ArrowSquareOut}
+ afterIcon={}
>
Staking App
diff --git a/apps/insights/src/components/Publishers/publishers-card.tsx b/apps/insights/src/components/Publishers/publishers-card.tsx
index fcd4c820fd..90596a35aa 100644
--- a/apps/insights/src/components/Publishers/publishers-card.tsx
+++ b/apps/insights/src/components/Publishers/publishers-card.tsx
@@ -270,7 +270,7 @@ const PublishersCardContents = ({
variant="outline"
hideLabel
options={CLUSTER_NAMES.map((id) => ({ id }))}
- icon={Database}
+ icon={}
{...(props.isLoading
? { isPending: true, buttonLabel: "Cluster" }
: {
@@ -323,7 +323,7 @@ const PublishersCardContents = ({
rounded
fill
label="Publishers"
- stickyHeader
+ stickyHeader="appHeader"
className={styles.table ?? ""}
columns={[
{
diff --git a/apps/insights/src/components/Root/search-button.tsx b/apps/insights/src/components/Root/search-button.tsx
index c357fc7b84..1a466a6e81 100644
--- a/apps/insights/src/components/Root/search-button.tsx
+++ b/apps/insights/src/components/Root/search-button.tsx
@@ -77,7 +77,7 @@ const SearchButtonImpl = (
}
size="sm"
rounded
{...props}
@@ -88,7 +88,7 @@ const SearchButtonImpl = (
className={styles.smallScreenSearchButton ?? ""}
hideText
variant="ghost"
- beforeIcon={MagnifyingGlass}
+ beforeIcon={}
size="sm"
rounded
{...props}
@@ -249,7 +249,7 @@ const SearchDialogContents = ({