Skip to content

Commit eee008a

Browse files
committed
fix type import and fix storybook start script
1 parent ccf9c48 commit eee008a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"types"
1212
],
1313
"scripts": {
14-
"start": "start-storybook -p 6006",
14+
"start": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006",
1515
"test": "jest",
1616
"ts": "tsc",
1717
"lint": "eslint \"src/**/*.{ts,tsx}\"",

src/components/ModalCloseButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type ModalCloseButtonProps = {
1010

1111
export const ModalCloseButton = ({ onClose }: ModalCloseButtonProps) => {
1212
const [showModal, setShowModal] = useState(false)
13-
const styles = useStyleConfig("Modal") as (typeof themeOverrides)["components"]["Modal"]["baseStyle"]
13+
const styles = useStyleConfig("Modal") as typeof themeOverrides["components"]["Modal"]["baseStyle"]
1414
return (
1515
<>
1616
<ConfirmCloseAlert

0 commit comments

Comments
 (0)