Migrate to oxlint + oxfmt
This commit is contained in:
@@ -50,7 +50,7 @@ export const TriStateFilter: React.FC<Props> = (props) => {
|
||||
const [val, setval] = React.useState(convertTriStateToNumber(state));
|
||||
|
||||
const handleChange = (checked: boolean | null | undefined) => {
|
||||
// eslint-disable-next-line no-nested-ternary
|
||||
// oxlint-disable-next-line no-nested-ternary
|
||||
const newState = checked === undefined ? 0 : checked ? 1 : 2;
|
||||
setval(newState);
|
||||
const upd = update.filter(
|
||||
|
||||
Reference in New Issue
Block a user