Skip to content

Commit b507409

Browse files
committed
show warning
1 parent 2ed0479 commit b507409

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/src/ts/components/modals/CustomTextModal.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,10 @@ export function CustomTextModal(): JSXElement {
253253
setLongTextWarning(false);
254254
}
255255

256+
if (data.long) {
257+
setLongTextWarning(true);
258+
}
259+
256260
const newText =
257261
(data.set ?? true) ? data.text : textarea() + " " + data.text;
258262
setTextarea(newText);

0 commit comments

Comments
 (0)