Trim spaces for more forgiving copy paste
This commit is contained in:
parent
c98d5a3e40
commit
d80358552f
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export default function AlbumCastDialog(props: Props) {
|
|||
setFieldError,
|
||||
) => {
|
||||
try {
|
||||
await doCast(value);
|
||||
await doCast(value.trim());
|
||||
props.onHide();
|
||||
} catch (e) {
|
||||
const error = e as Error;
|
||||
|
|
Loading…
Add table
Reference in a new issue