refactor: rename fallable* to falling

fallable is not a word.
This commit is contained in:
trafficlunar 2025-01-23 19:40:19 +00:00
parent 6779713897
commit a9baef3164
3 changed files with 27 additions and 27 deletions

View file

@ -49,7 +49,7 @@ function OpenImage({ close }: DialogProps) {
const [blockTypeCheckboxesChecked, setBlockTypeCheckboxesChecked] = useState({
creative: false,
tile_entity: false,
fallable: false,
falling: false,
});
useEffect(() => {
@ -271,11 +271,11 @@ function OpenImage({ close }: DialogProps) {
</div>
<div>
<Checkbox
id="fallable"
checked={blockTypeCheckboxesChecked.fallable}
onCheckedChange={(value) => onBlockTypeCheckedChange(value, "fallable")}
id="falling"
checked={blockTypeCheckboxesChecked.falling}
onCheckedChange={(value) => onBlockTypeCheckedChange(value, "falling")}
/>
<Label htmlFor="fallable">Fallable</Label>
<Label htmlFor="falling">Falling</Label>
</div>
</div>