Skip to content

Commit 21e2076

Browse files
committed
fix: prettier fix after wasm-id clash fix
1 parent de9d60a commit 21e2076

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎src/ansys/visor/visor-client/src/wasm/RemoteVtkScene.js‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ export default class RemoteVtkScene {
5656
* @return {{Id:number, ClassName:string, SuperClassNames:string[]}}
5757
*/
5858
static #idFloorState() {
59-
return { Id: this.#BROWSER_ID_FLOOR, ClassName: 'vtkPoints', SuperClassNames: ['vtkObject'] };
59+
return {
60+
Id: this.#BROWSER_ID_FLOOR,
61+
ClassName: 'vtkPoints',
62+
SuperClassNames: ['vtkObject'],
63+
};
6064
}
6165

6266
/**
@@ -71,7 +75,9 @@ export default class RemoteVtkScene {
7175
*/
7276
static #reserveBrowserIdRange(wasmHandler) {
7377
const state = this.#idFloorState();
74-
const registered = wasmHandler.sceneManager.updateObjectFromState(wasmHandler.stateDecorator(state));
78+
const registered = wasmHandler.sceneManager.updateObjectFromState(
79+
wasmHandler.stateDecorator(state)
80+
);
7581
wasmHandler.sceneManager.unRegisterState(state.Id);
7682
if (!registered) {
7783
console.warn(`Could not reserve the browser id range at id ${state.Id}.`);

0 commit comments

Comments
 (0)