Skip to content

Commit 47ba3a1

Browse files
committed
Fix data type validation by using selectedDataType in BiasSettings
1 parent d76d34d commit 47ba3a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BiasSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default function BiasSettings({
157157
return;
158158
}
159159

160-
if (formData.dataType === 'categorical' && isNumericData) {
160+
if (formData.selectedDataType === 'categorical' && isNumericData) {
161161
setDataTypeError(
162162
t('biasSettings.form.errors.categoricalDataRequired')
163163
);

0 commit comments

Comments
 (0)