diff --git a/src/widgets/TutorialModal/TutorialModal.stories.tsx b/src/widgets/TutorialModal/TutorialModal.stories.tsx
index f137fcb8..0a75c267 100644
--- a/src/widgets/TutorialModal/TutorialModal.stories.tsx
+++ b/src/widgets/TutorialModal/TutorialModal.stories.tsx
@@ -1,14 +1,11 @@
/** @jsxImportSource theme-ui */
import React, { useState } from "react";
import { Button } from "../../components/Button";
-import { Flex } from "../../components/Flex";
import StorybookLayout from "../../components/StorybookLayout/StorybookLayout";
-import { Text } from "../../components/Text";
import { Connected } from "../Navbar/index.stories";
import TutorialModal from "./TutorialModal";
import { TutorialModals } from "./types";
import useTutorialModal from "./useTutorialModal";
-import { styles } from "./styles";
export default {
title: "Widgets/TutorialModal",
@@ -24,56 +21,6 @@ export default {
const translate: (key: string) => string = (key) => key;
-const Body1 = () => {
- const t = translate;
- return (
-
- {t("Step 1")}
- {t("Connect your wallet")}
-
-
- {t("Click here")}{" "}
- {t("to connect your wallet to ApeSwap.")}
-
-
-
- {t("Don’t have a wallet?")}{" "}
- {t(`A full setup guide for MetaMask on BNB Chain can be found `)}
-
-
- {t("here")}
-
-
-
-
- );
-};
-
-const Body2 = () => {
- const t = translate;
- return (
-
- {t("Step 2")}
- {t("Select Tokens & Amount")}
-
-
- {t("Select the tokens you want to trade and enter your preferred amount.")}
-
-
-
- {t(`New to BNB Chain? You might need to`)}{" "}
-
-
- {t("bridge tokens")}
-
- {" "}
- {t(`first. Always keep spare BNB to account for gas fees.`)}
-
-
- );
-};
-
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const WithUseModalNavbar: React.FC = (args: any) => {
const [visible, setVisible] = useState(true);
const { onPresentTutorialModal } = useTutorialModal({
@@ -81,7 +28,7 @@ export const WithUseModalNavbar: React.FC = (args: any) => {
description: "This is the tutorial {description}",
t: translate,
onDismiss: () => setVisible(!visible),
- children: [<>this is the slide content>, <>fede is hot>],
+ children: [<>slide content 1>, <>second slide content>],
readyText: "I'm Ready",
type: TutorialModals.BNB_DEX,
isConnected: true,
diff --git a/src/widgets/TutorialModal/TutorialModal.tsx b/src/widgets/TutorialModal/TutorialModal.tsx
index 9732cfae..245ae70c 100644
--- a/src/widgets/TutorialModal/TutorialModal.tsx
+++ b/src/widgets/TutorialModal/TutorialModal.tsx
@@ -39,24 +39,7 @@ const TutorialModal: React.FC = ({
const renderChildren = () => {
return children?.map((element, i) => (
- {step === i && (
-
-
-
- {t(`Step ${step + 1}`)}
-
-
- {element}
-
- )}
+ {step === i && {element}}
));
};