Skip to content

Commit 6fa0235

Browse files
committed
fix(general,components): correct else statement
1 parent 01355f6 commit 6fa0235

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/library/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build:local": "webpack --env isLogging=true && bash ../../scripts/copy.sh",
1414
"build": "webpack --env environment=PROD",
1515
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
16-
"test:debug": "NODE_OPTIONS=--experimental-vm-modules node --inspect-brk ../../node_modules/.bin/jest",
16+
"test:debug": "NODE_OPTIONS=--experimental-vm-modules node --inspect-brk ../../node_modules/.bin/jest --runInBand",
1717
"release": "npm run build && commit-and-tag-version --commit-all && git push --follow-tags && bash ../../scripts/publish.sh"
1818
},
1919
"keywords": [],

packages/library/src/core/Scene.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ export const Scene: React.FC<SceneProps> = ({ children, sceneOptions, onSceneRea
171171
</Bridge>,
172172
rootContainer.current!,
173173
);
174-
} else {
175-
isFirstRender.current = false;
176174
}
175+
} else {
176+
isFirstRender.current = false;
177177
}
178178
});
179179

0 commit comments

Comments
 (0)