Skip to content

Scheduling infrastructure for absolutely everyone.

fixed back button on desktop (#3838)

Peer Richelsenbcd80eab34ce
diff --git a/packages/ui/Shell.tsx b/packages/ui/Shell.tsx
index b49e403952b..4c385bbe9ca 100644
--- a/packages/ui/Shell.tsx
+++ b/packages/ui/Shell.tsx
@@ -219,7 +219,7 @@ const Layout = ({
<div className="flex space-x-2 px-4">
<button
color="minimal"
- onClick={() => window.history.forward()}
+ onClick={() => window.history.back()}
className="desktop-only group flex text-sm font-medium text-neutral-500 hover:text-neutral-900">
<Icon.FiArrowLeft className="h-4 w-4 flex-shrink-0 text-neutral-400 group-hover:text-neutral-500" />
</button>