1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Fix React broken imports again

This commit is contained in:
checktheroads
2020-07-05 18:35:29 -07:00
parent 51456bea45
commit 0f4de0b42c
2 changed files with 4 additions and 4 deletions

View File

@ -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>
);

View File

@ -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}>