Skip to content

Commit

Permalink
Dsable r3f perf for now
Browse files Browse the repository at this point in the history
  • Loading branch information
FarazzShaikh committed Nov 1, 2024
1 parent 788d314 commit 7b32ca1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/src/pages/Root/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Canvas } from "@react-three/fiber";
import { Perf } from "r3f-perf";
import { useLayoutEffect, useState } from "react";
import { Outlet, useLocation, useOutletContext } from "react-router-dom";
import { SHADERS } from "../../Examples";
Expand Down Expand Up @@ -30,7 +29,7 @@ export function Root() {
<Canvas shadows>
<Outlet context={{ vs, fs, setShader } satisfies ContextType} />

<Perf position="bottom-right r3f-perf" />
{/* <Perf position="bottom-right r3f-perf" /> */}
</Canvas>
</main>
);
Expand Down

0 comments on commit 7b32ca1

Please sign in to comment.