kashi326 / inertia-react-laravel-template

Found unnecessary fragments JS-0424
Anti-pattern
Major
2 years ago2 years old
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
1import React from "react";
2
3const Layout = () => {
4    return <></>;5};
6
7export default Layout;