diff options
author | Sebastian <sebasjm@gmail.com> | 2022-11-07 19:29:47 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-11-07 19:29:47 -0300 |
commit | 43c7cff75055f72c7d59a7180ae8da2554456d8d (patch) | |
tree | 40456d9ab678e366a198fb7c491b3a2beb9f5779 /packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx | |
parent | 0249f57b461064520c1ab4bd144f127e4473b298 (diff) | |
download | wallet-core-43c7cff75055f72c7d59a7180ae8da2554456d8d.tar.xz |
un-uglyfy, fix: 7442
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx b/packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx index b1152ebec..45614f618 100644 --- a/packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx +++ b/packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx @@ -28,7 +28,7 @@ export interface Props { disabled?: boolean; disableUnderline?: boolean; endAdornment?: VNode; - error?: boolean; + error?: string; fullWidth?: boolean; id?: string; margin?: "dense" | "normal" | "none"; @@ -128,7 +128,7 @@ function Root({ fullWidth, disabled, focused, error, children }: any): VNode { return ( <InputBaseRoot disabled={disabled} - focused={focused} + focused={focused ? true : undefined} fullWidth={fullWidth} error={error} class={[rootStyle, formControlStyle, underlineStyle].join(" ")} |