X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/8c6209c45e4720c66dd53640142cbc9111748246..952bcc8f3ef686a2463931bc3f88457398163df7:/src/validators/max-length.tsx?ds=sidebyside

diff --git a/src/validators/max-length.tsx b/src/validators/max-length.tsx
index 922e3e52..370aa4c3 100644
--- a/src/validators/max-length.tsx
+++ b/src/validators/max-length.tsx
@@ -5,12 +5,6 @@
 export const ERROR_MESSAGE = 'Maximum string length of this field is: ';
 export const DEFAULT_MAX_VALUE = 60;
 
-interface MaxLengthProps {
-    maxLengthValue: number;  
-    defaultErrorMessage: string;
-}
-
-// TODO types for maxLength
 export const maxLength: any = (maxLengthValue = DEFAULT_MAX_VALUE, errorMessage = ERROR_MESSAGE) => {
     return (value: string) => {
         if (value) {
