From 309cd5508562b049f0788c3dd0701345023bce76 Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Fri, 10 May 2024 15:34:45 +0700 Subject: [PATCH] UI: Change buttons in Tutorial (#1251) --- .../InteractiveTutorialRoot.tsx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/ui/InteractiveTutorial/InteractiveTutorialRoot.tsx b/src/ui/InteractiveTutorial/InteractiveTutorialRoot.tsx index 5cf28ef45..8c8cbc515 100644 --- a/src/ui/InteractiveTutorial/InteractiveTutorialRoot.tsx +++ b/src/ui/InteractiveTutorial/InteractiveTutorialRoot.tsx @@ -2,10 +2,7 @@ import React, { useEffect } from "react"; import Paper from "@mui/material/Paper"; import Typography from "@mui/material/Typography"; -import IconButton from "@mui/material/IconButton"; import Button from "@mui/material/Button"; -import ArrowForwardIos from "@mui/icons-material/ArrowForwardIos"; -import ArrowBackIos from "@mui/icons-material/ArrowBackIos"; import { ITutorialEvents } from "./ITutorialEvents"; import { CopyableText } from "../React/CopyableText"; @@ -558,17 +555,18 @@ export function InteractiveTutorialRoot(): React.ReactElement { <> {content.content} +
{step !== iTutorialSteps.DocumentationPageInfo && ( <> {step !== iTutorialSteps.Start && ( - - - + )} {(content.canNext || ITutorial.stepIsDone[step]) && ( - - - + )} )}