mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-17 01:49:15 +08:00
* fix(webui): unify search input clear behavior * fix: centralize search input normalization
3 lines
104 B
TypeScript
3 lines
104 B
TypeScript
export const normalizeTextInput = (value: unknown): string =>
|
|
typeof value === 'string' ? value : '';
|