refactored Article.tsx to View.tsx
This commit is contained in:
@@ -3,8 +3,8 @@ import { marked } from 'marked';
|
|||||||
import { Box, Typography, Divider, IconButton, Chip } from '@mui/material';
|
import { Box, Typography, Divider, IconButton, Chip } from '@mui/material';
|
||||||
import { styled } from '@mui/material/styles';
|
import { styled } from '@mui/material/styles';
|
||||||
import ArrowBackRoundedIcon from '@mui/icons-material/ArrowBackRounded';
|
import ArrowBackRoundedIcon from '@mui/icons-material/ArrowBackRounded';
|
||||||
import { ArticleMeta } from "./ArticleMeta";
|
import { ArticleMeta } from "../ArticleMeta";
|
||||||
import { ArticleProps } from '../types/props';
|
import { ArticleProps } from '../../types/props';
|
||||||
|
|
||||||
const ArticleContainer = styled(Box)(({ theme }) => ({
|
const ArticleContainer = styled(Box)(({ theme }) => ({
|
||||||
maxWidth: '800px',
|
maxWidth: '800px',
|
||||||
|
|||||||
Reference in New Issue
Block a user