Build works again

This commit is contained in:
Bradlee Speice 2024-11-29 23:22:31 -05:00
parent f327b53863
commit 12c88ef8e3
2 changed files with 6 additions and 4 deletions

View File

@ -198,9 +198,10 @@ import chaosGameWeightedSource from "!!raw-loader!./chaosGameWeighted";
<CodeBlock language={'typescript'}>{chaosGameWeightedSource}</CodeBlock> <CodeBlock language={'typescript'}>{chaosGameWeightedSource}</CodeBlock>
import GasketWeighted from "./GasketWeighted" import BrowserOnly from "@docusaurus/BrowserOnly";
import Canvas from "../src/Canvas" import GasketWeighted from "./GasketWeighted";
import Canvas from "../src/Canvas";
<Canvas width={500} height={500}> <Canvas width={500} height={500}>
<GasketWeighted/> <BrowserOnly>{() => <GasketWeighted/>}</BrowserOnly>
</Canvas> </Canvas>

View File

@ -138,9 +138,10 @@ import blendSource from "!!raw-loader!./blend";
And with that in place, we have enough to render a first full fractal flame: And with that in place, we have enough to render a first full fractal flame:
import BrowserOnly from "@docusaurus/BrowserOnly";
import Canvas from "../src/Canvas"; import Canvas from "../src/Canvas";
import FlameBlend from "./FlameBlend"; import FlameBlend from "./FlameBlend";
<Canvas width={500} height={500}> <Canvas width={500} height={500}>
<FlameBlend/> <BrowserOnly>{() => <FlameBlend/>}</BrowserOnly>
</Canvas> </Canvas>