fixed back button on desktop (#3838)

This commit is contained in:
Peer Richelsen
2022-08-13 21:42:32 +02:00
committed by GitHub
parent c3fbf8224b
commit bcd80eab34
+1 -1
View File
@@ -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>