mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
chore: run format
This commit is contained in:
@@ -11,7 +11,10 @@ export function Mermaid({ chart }: { readonly chart: string }) {
|
||||
const { resolvedTheme } = useTheme();
|
||||
|
||||
useEffect(() => {
|
||||
if (currentChartRef.current === chart || !containerRef.current) return;
|
||||
if (currentChartRef.current === chart || !containerRef.current) {
|
||||
return;
|
||||
}
|
||||
|
||||
const container = containerRef.current;
|
||||
currentChartRef.current = chart;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user