mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-19 00:33:38 +00:00
Fix prettier on all files
This commit is contained in:
+8
-2
@@ -48,7 +48,10 @@ function findNodeByComponent(
|
||||
}
|
||||
}
|
||||
{
|
||||
const returnVal = findNodeByComponent(node.sibling, expectedClassOrFunction);
|
||||
const returnVal = findNodeByComponent(
|
||||
node.sibling,
|
||||
expectedClassOrFunction
|
||||
);
|
||||
if (returnVal !== null) {
|
||||
return returnVal;
|
||||
}
|
||||
@@ -76,7 +79,10 @@ function findNodeByComponentRef(
|
||||
}
|
||||
}
|
||||
{
|
||||
const returnVal = findNodeByComponentRef(node.sibling, expectedClassInstance);
|
||||
const returnVal = findNodeByComponentRef(
|
||||
node.sibling,
|
||||
expectedClassInstance
|
||||
);
|
||||
if (returnVal !== null) {
|
||||
return returnVal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user