Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed May 16, 2024
1 parent 91aff08 commit 7481877
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions packages/framer-motion/src/frameloop/batcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export function createRenderBatcher(
delta: 0,
timestamp: 0,
isProcessing: false,
currentStep: "",
}

const steps = stepsOrder.reduce((acc, key) => {
Expand All @@ -33,9 +32,7 @@ export function createRenderBatcher(
}, {} as Steps)

const processStep = (stepId: StepId) => {
state.currentStep = stepId
steps[stepId].process(state)
state.currentStep = ""
}

const processBatch = () => {
Expand Down
1 change: 0 additions & 1 deletion packages/framer-motion/src/frameloop/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ export interface FrameData {
delta: number
timestamp: number
isProcessing: boolean
currentStep: StepId | ""
}

0 comments on commit 7481877

Please sign in to comment.