mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
4 lines
147 B
TypeScript
4 lines
147 B
TypeScript
export default function getPlaceholderWithError(text: string, errorText?: string) {
|
|
return `${ text }${ errorText ? ' - ' + errorText : '' }`;
|
|
}
|