From 4998421cc0ab62aeb86d4e298142d21c0b249de2 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 19 Dec 2021 17:43:46 -0800 Subject: [PATCH] fix: '+' button display in sidebar in Safari --- app/components/NudeButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/NudeButton.tsx b/app/components/NudeButton.tsx index a27763ca6..6cfbdd6cf 100644 --- a/app/components/NudeButton.tsx +++ b/app/components/NudeButton.tsx @@ -1,7 +1,7 @@ import styled from "styled-components"; const Button = styled.button.attrs((props) => ({ - type: props.type || "button", + type: "type" in props ? props.type : "button", }))<{ width?: number; height?: number;