fix linting, formatting

This commit is contained in:
peterkogo
2024-11-13 18:17:42 +01:00
parent 44ce37a081
commit ed1ead7b5a
12 changed files with 21 additions and 14 deletions
@@ -42,7 +42,7 @@ export function useNodesData(nodeIds: any): any {
if (!shallowNodeData(nextNodesData, prevNodesData) || initialRun) {
prevNodesData = nextNodesData;
set(isArrayOfIds ? nextNodesData : nextNodesData[0] ?? null);
set(isArrayOfIds ? nextNodesData : (nextNodesData[0] ?? null));
initialRun = false;
}
});