ソースを参照

rename link password set modal to setPassword

Abhinav 3 年 前
コミット
7a30c3cd5e

+ 2 - 2
src/components/Collections/CollectionShare/publicShare/manage/index.tsx

@@ -1,7 +1,7 @@
 import { ManageLinkPassword } from './linkPassword';
 import { ManageDeviceLimit } from './deviceLimit';
 import { ManageLinkExpiry } from './linkExpiry';
-import { PublicLinkChangePassword } from '../changePassword';
+import { PublicLinkSetPassword } from '../setPassword';
 import { Stack } from '@mui/material';
 import { GalleryContext } from 'pages/gallery';
 import React, { useContext, useState } from 'react';
@@ -92,7 +92,7 @@ export default function PublicShareManage({
                     </Stack>
                 </ManageSectionOptions>
             </details>
-            <PublicLinkChangePassword
+            <PublicLinkSetPassword
                 open={changePasswordView}
                 onClose={closeConfigurePassword}
                 collection={collection}

+ 1 - 1
src/components/Collections/CollectionShare/publicShare/changePassword.tsx → src/components/Collections/CollectionShare/publicShare/setPassword.tsx

@@ -3,7 +3,7 @@ import SingleInputForm from 'components/SingleInputForm';
 import React from 'react';
 import CryptoWorker from 'utils/crypto';
 import constants from 'utils/strings/constants';
-export function PublicLinkChangePassword({
+export function PublicLinkSetPassword({
     open,
     onClose,
     collection,