import React from "react";
import useLights from "../../Hooks/light";
import Light from "../Light";
import Loading from "../Loading";
import {Card, CardBody, CardHeader} from "reactstrap";
function LightPage() {
const lights = useLights();
if (lights === null) {
return ;
}
return (
Tilgjengelige lys
{lights.map(light => )}
);
}
export default LightPage;