Просмотр исходного кода

86485 DuplicatePageAlert props name

Mao 4 лет назад
Родитель
Сommit
36be97312f
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/src/components/DuplicatePage.tsx

+ 2 - 2
packages/app/src/components/DuplicatePage.tsx

@@ -3,11 +3,11 @@ import { DevidedPagePath } from '@growi/core';
 import { useTranslation } from 'react-i18next';
 
 
-type Props = {
+type DuplicatePageAlertProps = {
   path : string,
 }
 
-const DuplicatePageAlert : FC<Props> = (props: Props) => {
+const DuplicatePageAlert : FC<DuplicatePageAlertProps> = (props: DuplicatePageAlertProps) => {
   const { path } = props;
   const { t } = useTranslation();
   const devidedPath = new DevidedPagePath(path);