Skip to content

Commit

Permalink
feat: 동적으로 랜더링
Browse files Browse the repository at this point in the history
  • Loading branch information
stopmin committed Jul 18, 2024
1 parent 94ec016 commit 1049ba7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/insight/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
'use client';


import React from 'react';
import { Box, Stack, Typography, Grid } from '@mui/material';
import dynamic from 'next/dynamic';
import { Box, Stack, Typography, Grid } from '@mui/material';
import CommentCard from '@/components/CommentCard';
import GradientBox from '@/components/GradientBox';
import NewsCardVertical from '@/components/NewsCardVertical';
Expand Down
3 changes: 2 additions & 1 deletion src/components/ChartRenderer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use client';

import React from 'react';
import dynamic from 'next/dynamic';
import React from 'react';

import { Data, Layout } from 'plotly.js';

// Dynamically import Plotly component to avoid SSR issues
Expand Down

0 comments on commit 1049ba7

Please sign in to comment.