Skip to content

Commit

Permalink
Update FormContextEditor.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Eurydia committed Jan 21, 2023
1 parent 52c6c77 commit 2187366
Showing 1 changed file with 44 additions and 30 deletions.
74 changes: 44 additions & 30 deletions src/components/FormContextEditor/FormContextEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,36 +234,50 @@ const ContextEditorTarget: FC<ContextEditorTargetProps> = (props) => {
checked={isDowned}
onClick={handleDownedChange}
/>
<ListItemForm
labelOn="is weak to FIRE"
checked={isWeakToFire}
onClick={handleWeakFireChange}
/>
<ListItemForm
labelOn="is weak to ICE"
checked={isWeakToIce}
onClick={handleWeakIceChange}
/>
<ListItemForm
labelOn="is weak to LIGHTNING"
checked={isWeakToLightning}
onClick={handleWeakLightningChange}
/>
<ListItemForm
labelOn="is weak to WIND"
checked={isWeakToWind}
onClick={handleWeakWindChange}
/>
<ListItemForm
labelOn="is weak to LIGHT"
checked={isWeakToLight}
onClick={handleWeakLightChange}
/>
<ListItemForm
labelOn="is weak to DARK"
checked={isWeakToDark}
onClick={handleWeakDarkChange}
/>
<Grid container columns={{ xs: 1, sm: 2 }}>
<Grid item xs={1}>
<ListItemForm
labelOn="is weak to FIRE"
checked={isWeakToFire}
onClick={handleWeakFireChange}
/>
</Grid>
<Grid item xs={1}>
<ListItemForm
labelOn="is weak to ICE"
checked={isWeakToIce}
onClick={handleWeakIceChange}
/>
</Grid>
<Grid item xs={1}>
<ListItemForm
labelOn="is weak to LIGHTNING"
checked={isWeakToLightning}
onClick={handleWeakLightningChange}
/>
</Grid>
<Grid item xs={1}>
<ListItemForm
labelOn="is weak to WIND"
checked={isWeakToWind}
onClick={handleWeakWindChange}
/>
</Grid>
<Grid item xs={1}>
<ListItemForm
labelOn="is weak to LIGHT"
checked={isWeakToLight}
onClick={handleWeakLightChange}
/>
</Grid>
<Grid item xs={1}>
<ListItemForm
labelOn="is weak to DARK"
checked={isWeakToDark}
onClick={handleWeakDarkChange}
/>
</Grid>
</Grid>
</ListForm>
);
};
Expand Down

0 comments on commit 2187366

Please sign in to comment.