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;