forked from mirrors/thatmattlove-hyperglass
Fix React broken imports again
This commit is contained in:
parent
51456bea45
commit
0f4de0b42c
2 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import * as React from "react";
|
||||
import { forwardRef } from "react";
|
||||
import { Box, Collapse } from "@chakra-ui/core";
|
||||
import MarkDown from "~/components/MarkDown";
|
||||
import Markdown from "~/components/Markdown";
|
||||
|
||||
const FooterContent = forwardRef(
|
||||
({ isOpen = false, content, side = "left", title, ...props }, ref) => {
|
||||
|
|
@ -20,7 +20,7 @@ const FooterContent = forwardRef(
|
|||
{...props}
|
||||
>
|
||||
<Box textAlign={side}>
|
||||
<MarkDown content={content} />
|
||||
<Markdown content={content} />
|
||||
</Box>
|
||||
</Collapse>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import {
|
|||
useColorMode,
|
||||
useDisclosure
|
||||
} from "@chakra-ui/core";
|
||||
import MarkDown from "~/components/MarkDown";
|
||||
import Markdown from "~/components/Markdown";
|
||||
import { motion } from "framer-motion";
|
||||
|
||||
const bg = { light: "white", dark: "black" };
|
||||
|
|
@ -56,7 +56,7 @@ const Greeting = ({ greetingConfig, content, onClickThrough }) => {
|
|||
<ModalHeader>{greetingConfig.title}</ModalHeader>
|
||||
{!greetingConfig.required && <ModalCloseButton />}
|
||||
<ModalBody>
|
||||
<MarkDown content={content} />
|
||||
<Markdown content={content} />
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variantColor="primary" onClick={handleClick}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue