Fix marker validation message

This commit is contained in:
WithoutPants
2025-03-07 14:52:54 +11:00
parent 9b7e20351a
commit c2bc31387c

View File

@@ -51,7 +51,7 @@ export const SceneMarkerForm: React.FC<ISceneMarkerForm> = ({
.defined() .defined()
.test( .test(
"is-greater-than-seconds", "is-greater-than-seconds",
intl.formatMessage({ id: "end_time_before_start_time" }), intl.formatMessage({ id: "validation.end_time_before_start_time" }),
function (value) { function (value) {
return value === null || value >= this.parent.seconds; return value === null || value >= this.parent.seconds;
} }