build: 🐛 fix react-app build

This commit is contained in:
Nate Sesti 2023-08-03 16:37:49 -07:00
parent 4eef3a5d19
commit bc629207c8

View file

@ -7,9 +7,7 @@ import {
} from ".";
import MarkdownPreview from "@uiw/react-markdown-preview";
const StyledMarkdownPreview = styled(MarkdownPreview)<{
light: boolean | undefined;
}>`
const StyledMarkdownPreview = styled(MarkdownPreview)<{ light?: boolean }>`
pre {
background-color: ${(props) =>
props.light ? vscBackground : secondaryDark};