aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Wang2020-07-20 12:27:15 -0700
committerNathan Wang2020-07-20 12:27:15 -0700
commit5e07091a0356ca87aa4fbab0e36ff6fa4ebd6866 (patch)
tree3310b6e3b2976fe114a1e7dc6f57944a663968ea
parentb43e5f5a3e607ee54c00f0f3b9a30c57eebe704e (diff)
link logo to dashboard
-rw-r--r--src/components/ModuleLayout/ModuleLayout.tsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/ModuleLayout/ModuleLayout.tsx b/src/components/ModuleLayout/ModuleLayout.tsx
index 02cdded..4127fa4 100644
--- a/src/components/ModuleLayout/ModuleLayout.tsx
+++ b/src/components/ModuleLayout/ModuleLayout.tsx
@@ -372,7 +372,10 @@ export default function ModuleLayout({
</button>
</div>
<div className="flex-1 h-0 pt-5 overflow-y-auto">
- <Link className="flex-shrink-0 flex items-center px-4" to="/">
+ <Link
+ className="flex-shrink-0 flex items-center px-4"
+ to="/dashboard/"
+ >
<Logo />
</Link>
<div className="mt-4 px-6">
@@ -403,7 +406,10 @@ export default function ModuleLayout({
style={{ width: '20rem' }}
>
<div className="h-0 flex-1 flex flex-col pt-5 overflow-y-auto">
- <Link className="flex items-center flex-shrink-0 px-4 pb-2" to="/">
+ <Link
+ className="flex items-center flex-shrink-0 px-4 pb-2"
+ to="/dashboard/"
+ >
<Logo />
</Link>
{/* Sidebar component, swap this element with another sidebar if you like */}