fix: '+' button display in sidebar in Safari
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user