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:
@ -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}>
|
||||
|
Reference in New Issue
Block a user