fix linting, formatting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user