Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lawsonkight committed Sep 28, 2024
1 parent 3b0da49 commit ceb8923
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/bridge/docs/02-Bridge/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import SVGBridge from '@site/src/components/SVGBridge'

# Synapse Bridge

The [Synapse Bridge](https://synapseprotocol.com) and [Solana Bridge](https://solana.synapseprotocol.com/) seamlessly swap on-chain assets between [20+ EVM and non-EVM blockchains](Supported-Routes) in a safe and secure manner.
The [Synapse Bridge](https://synapseprotocol.com) and [Solana Bridge](https://solana.synapseprotocol.com/) seamlessly swap on-chain assets between [20+ EVM and non-EVM blockchains](/docs/About/Routes) in a safe and secure manner.

<br />

Expand Down
26 changes: 14 additions & 12 deletions docs/bridge/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
/* eslint-disable @typescript-eslint/no-var-requires */
import clsx from 'clsx'
import Heading from '@theme/Heading'

import styles from './styles.module.css'

type FeatureItem = {
title: string;
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
description: JSX.Element;
};
title: string
Svg: React.ComponentType<React.ComponentProps<'svg'>>
description: JSX.Element
}

const FeatureList: FeatureItem[] = [
{
Expand Down Expand Up @@ -39,9 +41,9 @@ const FeatureList: FeatureItem[] = [
</>
),
},
];
]

function Feature({title, Svg, description}: FeatureItem) {
const Feature = ({ title, Svg, description }: FeatureItem) => {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
Expand All @@ -52,10 +54,10 @@ function Feature({title, Svg, description}: FeatureItem) {
<p>{description}</p>
</div>
</div>
);
)
}

export default function HomepageFeatures(): JSX.Element {
export default () => {
return (
<section className={styles.features}>
<div className="container">
Expand All @@ -66,5 +68,5 @@ export default function HomepageFeatures(): JSX.Element {
</div>
</div>
</section>
);
)
}

0 comments on commit ceb8923

Please sign in to comment.