Skip to content

Commit 1644485

Browse files
committed
refactor(perps): simplify PerpsAlwaysOnProvider return to children directly
1 parent 842a49c commit 1644485

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/components/UI/Perps/providers/PerpsAlwaysOnProvider.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ export const PerpsAlwaysOnProvider: React.FC<{ children: React.ReactNode }> = ({
8181
};
8282
}, [isPerpsEnabled]);
8383

84-
// eslint-disable-next-line react/jsx-no-useless-fragment
85-
return <>{children}</>;
84+
return children;
8685
};

0 commit comments

Comments
 (0)