mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
chore(web): add prettier and format
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Box, Checkbox } from "@chakra-ui/react";
|
||||
import { useEffect } from "react";
|
||||
import { ICheckbox } from "../../../interfaces/dialog";
|
||||
import { Box, Checkbox } from '@chakra-ui/react';
|
||||
import { useEffect } from 'react';
|
||||
import { ICheckbox } from '../../../interfaces/dialog';
|
||||
|
||||
interface Props {
|
||||
row: ICheckbox;
|
||||
@@ -10,7 +10,7 @@ interface Props {
|
||||
|
||||
const CheckboxField: React.FC<Props> = (props) => {
|
||||
useEffect(() => {
|
||||
if(props.row.checked) props.handleChange(props.row.checked, props.index);
|
||||
if (props.row.checked) props.handleChange(props.row.checked, props.index);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user