Yuki Takei 3 лет назад
Родитель
Сommit
ac71e2f926

+ 1 - 0
packages/app/src/components/Admin/Customize/CustomizeHighlightSetting.tsx

@@ -42,6 +42,7 @@ const HljsDemo = React.memo((props: HljsDemoProps): JSX.Element => {
     </pre>
     </pre>
   );
   );
 });
 });
+HljsDemo.displayName = 'HljsDemo';
 
 
 const CustomizeHighlightSetting = (props: Props): JSX.Element => {
 const CustomizeHighlightSetting = (props: Props): JSX.Element => {
   const { adminCustomizeContainer } = props;
   const { adminCustomizeContainer } = props;

+ 2 - 0
packages/app/src/components/Admin/Security/DeleteAllShareLinksModal.jsx

@@ -53,6 +53,8 @@ const DeleteAllShareLinksModal = React.memo((props) => {
   );
   );
 
 
 });
 });
+DeleteAllShareLinksModal.displayName = 'DeleteAllShareLinksModal';
+
 
 
 DeleteAllShareLinksModal.propTypes = {
 DeleteAllShareLinksModal.propTypes = {
   t: PropTypes.func.isRequired, // i18next
   t: PropTypes.func.isRequired, // i18next

+ 2 - 1
packages/app/src/components/Admin/Users/RemoveAdminMenuItem.tsx

@@ -1,4 +1,4 @@
-import React, { useCallback, useMemo } from 'react';
+import React, { useCallback } from 'react';
 
 
 import { useTranslation } from 'react-i18next';
 import { useTranslation } from 'react-i18next';
 
 
@@ -20,6 +20,7 @@ const RemoveAdminAlert = React.memo((): JSX.Element => {
     </div>
     </div>
   );
   );
 });
 });
+RemoveAdminAlert.displayName = 'RemoveAdminAlert';
 
 
 
 
 type Props = {
 type Props = {