Fix chart re-render.

This commit is contained in:
Brian Cao 2023-04-03 17:26:37 -07:00
parent d47724858a
commit 93707606df

View File

@ -64,7 +64,7 @@ export default function WebsiteChart({
}; };
} }
return { pageviews: [], sessions: [] }; return { pageviews: [], sessions: [] };
}, [data, startDate, endDate, unit]); }, [data, modified]);
return ( return (
<> <>