diff --git a/src/components/views/RuleGuide.tsx b/src/components/views/RuleGuide.tsx index 9042de2..b16db60 100644 --- a/src/components/views/RuleGuide.tsx +++ b/src/components/views/RuleGuide.tsx @@ -8,6 +8,7 @@ import Header from "./Header"; import { FFmpeg } from "@ffmpeg/ffmpeg"; import "../../styles/views/RuleGuide.scss"; import { TourProvider, useTour } from "@reactour/tour" +import { showToast} from "../../helpers/toastService"; const mockGameTheme = "FOOD"; const mockCurrentPlayer = "id2"; @@ -346,6 +347,7 @@ const RuleGuide = () => { disableDotsNavigation={true} showCloseButton={false} beforeClose={() => { + showToast("Congratulations! You have successfully completed the Rule Guide!\nEnjoy the game!", "success"); navigate("/lobby"); }} >