Ver código fonte

fix eslint display name error

keigo-h 3 anos atrás
pai
commit
b9e8f1a60d

+ 4 - 0
packages/app/src/components/PrivateLegacyPages.tsx

@@ -128,6 +128,8 @@ const SearchResultListHead = React.memo((props: SearchResultListHeadProps): JSX.
   );
   );
 });
 });
 
 
+SearchResultListHead.displayName = 'SearchResultListHead';
+
 /*
 /*
  * ConvertByPathModal
  * ConvertByPathModal
  */
  */
@@ -182,6 +184,8 @@ const ConvertByPathModal = React.memo((props: ConvertByPathModalProps): JSX.Elem
   );
   );
 });
 });
 
 
+ConvertByPathModal.displayName = 'ConvertByPathModal';
+
 /**
 /**
  * LegacyPage
  * LegacyPage
  */
  */

+ 2 - 0
packages/app/src/components/TagCloudBox.tsx

@@ -37,6 +37,8 @@ const TagCloudBox: FC<Props> = memo((props:(Props & typeof defaultProps)) => {
 
 
 });
 });
 
 
+TagCloudBox.displayName = 'withLoadingSppiner';
+
 TagCloudBox.defaultProps = defaultProps;
 TagCloudBox.defaultProps = defaultProps;
 
 
 export default TagCloudBox;
 export default TagCloudBox;

+ 2 - 0
packages/app/src/components/UncontrolledCodeMirror.tsx

@@ -53,3 +53,5 @@ export const UncontrolledCodeMirror = forwardRef<UncontrolledCodeMirrorCore, Unc
     />
     />
   );
   );
 });
 });
+
+UncontrolledCodeMirror.displayName = 'UncontrolledCodeMirror';