KCL: Fix format

This commit is contained in:
Adam Chalmers
2025-06-03 18:04:35 -05:00
committed by GitHub
parent 2dc76a71cc
commit c373f33507
3 changed files with 22 additions and 22 deletions

View File

@ -532,7 +532,7 @@ test.describe('Testing Camera Movement', () => {
.then((value) => parseFloat(value))
}
async function doOrbitWith(callback = async () => { }) {
async function doOrbitWith(callback = async () => {}) {
await resetCamera()
await test.step(`Perform orbit`, async () => {

View File

@ -79,7 +79,7 @@ impl Context {
self.execute_typed(program_ast_json, path, settings)
.await
.and_then(|outcome|JsValue::from_serde(&outcome).map_err(|e| {
.and_then(|outcome| JsValue::from_serde(&outcome).map_err(|e| {
// The serde-wasm-bindgen does not work here because of weird HashMap issues.
// DO NOT USE serde_wasm_bindgen::to_value it will break the frontend.
KclErrorWithOutputs::no_outputs(KclError::internal(

View File

@ -371,7 +371,7 @@ export class CameraControls {
}
private _isCamMovingCallback: (isMoving: boolean, isTween: boolean) => void =
() => { }
() => {}
setIsCamMovingCallback(cb: (isMoving: boolean, isTween: boolean) => void) {
this._isCamMovingCallback = cb
}
@ -1272,7 +1272,7 @@ export class CameraControls {
],
}
}
reactCameraPropertiesCallback: (a: ReactCameraProperties) => void = () => { }
reactCameraPropertiesCallback: (a: ReactCameraProperties) => void = () => {}
setReactCameraPropertiesCallback = (
cb: (a: ReactCameraProperties) => void
) => {