Fix raid layout selector label bug

This commit is contained in:
2025-03-25 20:41:24 -04:00
parent 6bb0f18ea9
commit f3f50dcd14

View File

@@ -88,7 +88,7 @@ export default function RaidLayoutSelectorModal({
className="flex flex-row" className="flex flex-row"
> >
<input <input
id={`raidLayoutModal${modalId}`} id={`raidLayoutModal${raidLayout.raidLayoutId?.replaceAll("-", "")}${modalId}`}
type="radio" type="radio"
name="raidLayoutId" name="raidLayoutId"
value={raidLayout.raidLayoutId} value={raidLayout.raidLayoutId}
@@ -98,7 +98,7 @@ export default function RaidLayoutSelectorModal({
/> />
<label <label
className="ml-2" className="ml-2"
htmlFor={`raidLayoutModal${modalId}`} htmlFor={`raidLayoutModal${raidLayout.raidLayoutId?.replaceAll("-", "")}${modalId}`}
> >
{raidLayout.raidLayoutName} {raidLayout.raidLayoutName}
</label> </label>