From a12bcef0656d8e1dd62c598dbdb70ae3c435182d Mon Sep 17 00:00:00 2001 From: Magix <27646710+KingRainbow44@users.noreply.github.com> Date: Thu, 6 Apr 2023 22:03:16 +0000 Subject: [PATCH] Go home when title is clicked --- src/handbook/src/ui/views/SideBar.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/handbook/src/ui/views/SideBar.tsx b/src/handbook/src/ui/views/SideBar.tsx index bdcfa9351..b1db7df7b 100644 --- a/src/handbook/src/ui/views/SideBar.tsx +++ b/src/handbook/src/ui/views/SideBar.tsx @@ -1,8 +1,11 @@ import React from "react"; -import "@css/views/SideBar.scss"; import SideBarButton from "@app/ui/widgets/SideBarButton"; +import { navigate } from "@app/backend/events"; + +import "@css/views/SideBar.scss"; + class SideBar extends React.Component { constructor(props: any) { super(props); @@ -11,7 +14,12 @@ class SideBar extends React.Component { render() { return (
-

The Ultimate Anime Game Handbook

+

navigate("Home")} + > + The Ultimate Anime Game Handbook +