From 68dc08607f695cfdb01d6fff5da8351ace262cf9 Mon Sep 17 00:00:00 2001
From: Diogo Soares <32431609+DiogoSoaress@users.noreply.github.com>
Date: Mon, 2 Dec 2024 15:38:31 +0100
Subject: [PATCH] fix: PR feedback
---
src/components/Safenet/CrossChain/index.tsx | 8 ++++----
src/components/Safenet/Hero/index.tsx | 17 ++++++-----------
src/components/Safenet/Values/index.tsx | 2 +-
3 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/src/components/Safenet/CrossChain/index.tsx b/src/components/Safenet/CrossChain/index.tsx
index 5b3ba1ae..85af7f6c 100644
--- a/src/components/Safenet/CrossChain/index.tsx
+++ b/src/components/Safenet/CrossChain/index.tsx
@@ -6,9 +6,6 @@ import type { BaseBlock } from '@/components/Home/types'
import { AppRoutes } from '@/config/routes'
import css from './styles.module.css'
-const text =
- 'Cross-chain interactions are simplified. Say goodbye to gas free hassles and enjoy a seamless, stress-free experience.'
-
const items: BaseBlock['items'] = [
{
image: {
@@ -70,7 +67,10 @@ const CrossChain = () => (
on any network!
- {text}
+
+ Cross-chain interactions are simplified. Say goodbye to gas free hassles and enjoy a seamless, stress-free
+ experience.
+
diff --git a/src/components/Safenet/Hero/index.tsx b/src/components/Safenet/Hero/index.tsx
index a02f76e9..b419bffb 100644
--- a/src/components/Safenet/Hero/index.tsx
+++ b/src/components/Safenet/Hero/index.tsx
@@ -4,15 +4,6 @@ import { SAFENET_TELEGRAM_LINK, SAFENET_WAITING_LIST_LINK } from '@/config/const
import SafenetLogoGradient from '@/public/images/Safenet/Safenet-logo-gradient.svg'
import css from './styles.module.css'
-const title = "Moving the World's GDP onchain"
-const text = (
- <>
- Single unified balance. Instant cross-chain transactions.
-
- Execution guarantees. On any network.
- >
-)
-
const Hero = () => (
@@ -32,10 +23,14 @@ const Hero = () => (
- <>{title}>
+ Moving the World's GDP onchain
-
{text}
+
+ Single unified balance. Instant cross-chain transactions.
+
+ Execution guarantees. On any network.
+
diff --git a/src/components/Safenet/Values/index.tsx b/src/components/Safenet/Values/index.tsx
index 6e27b7fc..da641323 100644
--- a/src/components/Safenet/Values/index.tsx
+++ b/src/components/Safenet/Values/index.tsx
@@ -87,7 +87,7 @@ const Values = () => (
- {stats?.map((item, index) => (
+ {stats.map((item, index) => (