aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-03-29 09:58:06 -0300
committerSebastian <sebasjm@gmail.com>2022-03-29 10:04:33 -0300
commit3dd1047b085fa7795f322c5829f39208465bff13 (patch)
tree19340ca9420466e7059849dbf7013901733c0fde /packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx
parentcb18b9813e5df6e315dfb1827f5f7cf304977390 (diff)
downloadwallet-core-3dd1047b085fa7795f322c5829f39208465bff13.tar.xz
added react eslint and fix most of the warns
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx4
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 9d79a7019..3eacd7984 100644
--- a/packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx
+++ b/packages/taler-wallet-webextension/src/mui/input/InputStandard.tsx
@@ -107,7 +107,7 @@ const underlineStyle = css`
}
`;
-function Root({ disabled, focused, error, children }: any) {
+function Root({ disabled, focused, error, children }: any): VNode {
return (
<InputBaseRoot
disabled={disabled}
@@ -120,6 +120,6 @@ function Root({ disabled, focused, error, children }: any) {
);
}
-function Input(props: any) {
+function Input(props: any): VNode {
return <InputBaseComponent {...props} />;
}