remove null return
This commit is contained in:
1 parent
80a16ef61a
commit
0feb2053a1
1 file changed
-2
@@ -2,8 +2,6 @@ import { Grid, Grid2 } from "@mui/material";
|
|||||||
import Card from "../Card";
|
import Card from "../Card";
|
||||||
|
|
||||||
const MonitorGrid = ({ shouldRender, monitors }) => {
|
const MonitorGrid = ({ shouldRender, monitors }) => {
|
||||||
if (!shouldRender) return null;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid
|
<Grid
|
||||||
container
|
container
|
||||||
|
|||||||
Reference in new issue
Block a user