From 0e45425dedb0966fe2fdb31a997779b75515dd98 Mon Sep 17 00:00:00 2001 From: Cody Bennett <23324155+CodyJasonBennett@users.noreply.github.com> Date: Wed, 12 Jul 2023 07:33:12 -0500 Subject: [PATCH] chore: cleanup --- packages/fiber/package.json | 2 +- packages/fiber/src/core/store.ts | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/packages/fiber/package.json b/packages/fiber/package.json index 6e7865b1bc..46cfda2f2e 100644 --- a/packages/fiber/package.json +++ b/packages/fiber/package.json @@ -48,7 +48,7 @@ "react-reconciler": "^0.27.0", "react-use-measure": "^2.1.1", "scheduler": "^0.21.0", - "suspend-react": "^0.1.0", + "suspend-react": "^0.1.3", "zustand": "^4.1.2" }, "peerDependencies": { diff --git a/packages/fiber/src/core/store.ts b/packages/fiber/src/core/store.ts index e930417618..400e5aeaff 100644 --- a/packages/fiber/src/core/store.ts +++ b/packages/fiber/src/core/store.ts @@ -5,22 +5,6 @@ import type { DomEvent, EventManager, PointerCaptureTarget, ThreeEvent } from '. import { calculateDpr, type Camera, isOrthographicCamera, prepare, updateCamera } from './utils' import type { FixedStage, Stage } from './stages' -// Keys that shouldn't be copied between R3F stores -export const privateKeys = [ - 'set', - 'get', - 'setSize', - 'setFrameloop', - 'setDpr', - 'events', - 'invalidate', - 'advance', - 'size', - 'viewport', -] as const - -export type PrivateKeys = typeof privateKeys[number] - export interface Intersection extends THREE.Intersection { eventObject: THREE.Object3D }