diff --git a/src/App.tsx b/src/App.tsx index 0104099..381b41b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2571,7 +2571,7 @@ function App() { lineHeight: '15px', }} > - The Application

{' '} + The Application

{requestConnection?.hostname}

is requestion a connection @@ -2580,8 +2580,8 @@ function App() { @@ -2644,7 +2644,7 @@ function App() { lineHeight: '15px', }} > - The Application

{' '} + The Application

{requestConnection?.hostname}

requests authentication diff --git a/src/assets/syncStatus/synced.png b/src/assets/syncStatus/synced.png deleted file mode 100644 index f944bad..0000000 Binary files a/src/assets/syncStatus/synced.png and /dev/null differ diff --git a/src/assets/syncStatus/synced.webp b/src/assets/syncStatus/synced.webp new file mode 100644 index 0000000..0036186 Binary files /dev/null and b/src/assets/syncStatus/synced.webp differ diff --git a/src/assets/syncStatus/synced_minting.png b/src/assets/syncStatus/synced_minting.png deleted file mode 100644 index 567e784..0000000 Binary files a/src/assets/syncStatus/synced_minting.png and /dev/null differ diff --git a/src/assets/syncStatus/synced_minting.webp b/src/assets/syncStatus/synced_minting.webp new file mode 100644 index 0000000..01093c8 Binary files /dev/null and b/src/assets/syncStatus/synced_minting.webp differ diff --git a/src/assets/syncStatus/syncing.png b/src/assets/syncStatus/syncing.png deleted file mode 100644 index 82d39bb..0000000 Binary files a/src/assets/syncStatus/syncing.png and /dev/null differ diff --git a/src/assets/syncStatus/syncing.webp b/src/assets/syncStatus/syncing.webp new file mode 100644 index 0000000..7d6e2de Binary files /dev/null and b/src/assets/syncStatus/syncing.webp differ diff --git a/src/common/BoundedNumericTextField.tsx b/src/common/BoundedNumericTextField.tsx index f64c8ad..803011e 100644 --- a/src/common/BoundedNumericTextField.tsx +++ b/src/common/BoundedNumericTextField.tsx @@ -140,7 +140,7 @@ export const BoundedNumericTextField = ({ sx={{ color: theme.palette.text.primary, }} - />{' '} + /> {' '} + /> ) : ( diff --git a/src/components/Chat/MessageDisplay.tsx b/src/components/Chat/MessageDisplay.tsx index ac5cda3..dbe7208 100644 --- a/src/components/Chat/MessageDisplay.tsx +++ b/src/components/Chat/MessageDisplay.tsx @@ -75,7 +75,7 @@ const linkify = (text) => { return processText(textFormatted); }; -export const MessageDisplay = ({ htmlContent, isReply }) => { +export const MessageDisplay = ({ htmlContent, isReply = false }) => { const theme = useTheme(); const sanitizedContent = useMemo(() => { diff --git a/src/components/CoreSyncStatus.tsx b/src/components/CoreSyncStatus.tsx index 345678f..9b5bd29 100644 --- a/src/components/CoreSyncStatus.tsx +++ b/src/components/CoreSyncStatus.tsx @@ -1,7 +1,7 @@ import { useEffect, useState } from 'react'; -import syncedImg from '../assets/syncStatus/synced.png'; -import syncedMintingImg from '../assets/syncStatus/synced_minting.png'; -import syncingImg from '../assets/syncStatus/syncing.png'; +import syncedImg from '../assets/syncStatus/synced.webp'; +import syncedMintingImg from '../assets/syncStatus/synced_minting.webp'; +import syncingImg from '../assets/syncStatus/syncing.webp'; import { getBaseApiReact } from '../App'; import '../styles/CoreSyncStatus.css'; import { useTheme } from '@mui/material'; diff --git a/src/components/Embeds/AttachmentEmbed.tsx b/src/components/Embeds/AttachmentEmbed.tsx index e8a7d71..46d18cc 100644 --- a/src/components/Embeds/AttachmentEmbed.tsx +++ b/src/components/Embeds/AttachmentEmbed.tsx @@ -243,7 +243,6 @@ export const AttachmentCard = ({ width: '100%', }} > - {' '} {errorMsg} - {' '} +
)} diff --git a/src/components/Embeds/ImageEmbed.tsx b/src/components/Embeds/ImageEmbed.tsx index 7402039..9438166 100644 --- a/src/components/Embeds/ImageEmbed.tsx +++ b/src/components/Embeds/ImageEmbed.tsx @@ -177,7 +177,6 @@ export const ImageCard = ({ justifyContent: 'center', }} > - {' '} - {' '} - {`${poll?.votes?.totalVotes} ${ - poll?.votes?.totalVotes === 1 ? ' vote' : ' votes' - }`} + {poll?.votes?.totalVotes}{' '} + {poll?.votes?.totalVotes === 1 ? ' vote' : ' votes'} diff --git a/src/components/GeneralNotifications.tsx b/src/components/GeneralNotifications.tsx index 53e85a8..4164214 100644 --- a/src/components/GeneralNotifications.tsx +++ b/src/components/GeneralNotifications.tsx @@ -157,7 +157,7 @@ export const GeneralNotifications = ({ address }) => { sx={{ color: theme.palette.text.primary, }} - />{' '} + /> {formatDate(latestTx?.timestamp)} diff --git a/src/components/Group/BlockedUsersModal.tsx b/src/components/Group/BlockedUsersModal.tsx index e0a7b99..a3788fc 100644 --- a/src/components/Group/BlockedUsersModal.tsx +++ b/src/components/Group/BlockedUsersModal.tsx @@ -65,7 +65,6 @@ export const BlockedUsersModal = () => { }, [isOpenBlockedModal]); const getNames = async () => { - // const validApi = await findUsableApi(); const addresses = Object.keys(blockedUsers?.addresses); const addressNames = {}; @@ -142,6 +141,10 @@ export const BlockedUsersModal = () => { executeEvent('updateChatMessagesWithBlocks', true); } } catch (error) { + if (error?.isCanceled) { + // user pressed Escape or canceled — do nothing + return; + } setOpenSnackGlobal(true); setInfoSnackCustom({ type: 'error', @@ -173,20 +176,22 @@ export const BlockedUsersModal = () => { return ( - {t('auth:blocked_users', { postProcess: 'capitalizeFirstChar' })} + {t('auth:blocked_users', { postProcess: 'capitalizeAll' })} + { - {t('core:message.generic.blocked_names', { + {t('auth:message.generic.blocked_names', { postProcess: 'capitalizeFirstChar', })} @@ -375,6 +380,7 @@ export const BlockedUsersModal = () => { @@ -388,7 +394,7 @@ export const BlockedUsersModal = () => { }} > {t('auth:message.generic.decide_block', { - postProcess: 'capitalizeFirstChar', + postProcess: 'capitalizeAll', })} @@ -412,7 +418,7 @@ export const BlockedUsersModal = () => { sx={{ color: theme.palette.text.primary, }} - />{' '} + /> {t('auth:message.generic.choose_block', { postProcess: 'capitalizeFirstChar', diff --git a/src/components/Group/Forum/ReusableModal.tsx b/src/components/Group/Forum/ReusableModal.tsx index 9bd25c7..83ee927 100644 --- a/src/components/Group/Forum/ReusableModal.tsx +++ b/src/components/Group/Forum/ReusableModal.tsx @@ -24,7 +24,7 @@ export const ReusableModal: FC = ({ onClose={onClose} aria-labelledby="modal-title" aria-describedby="modal-description" - componentsProps={{ + slotProps={{ backdrop: { style: { backdropFilter: 'blur(3px)', diff --git a/src/components/Group/Forum/ShowMessageWithoutModal.tsx b/src/components/Group/Forum/ShowMessageWithoutModal.tsx index 2dea104..ecf60e9 100644 --- a/src/components/Group/Forum/ShowMessageWithoutModal.tsx +++ b/src/components/Group/Forum/ShowMessageWithoutModal.tsx @@ -51,8 +51,8 @@ export const ShowMessage = ({ message, openNewPostWithQuote, myName }: any) => { }} > - {' '} {t('group:message.generic.encryption_key', { postProcess: 'capitalizeFirstChar', diff --git a/src/components/Group/HomeDesktop.tsx b/src/components/Group/HomeDesktop.tsx index f148be1..bcfff93 100644 --- a/src/components/Group/HomeDesktop.tsx +++ b/src/components/Group/HomeDesktop.tsx @@ -209,7 +209,7 @@ export const HomeDesktop = ({ sx={{ ccolor: theme.palette.text.primary, }} - />{' '} + /> {' '} + diff --git a/src/components/Save/Save.tsx b/src/components/Save/Save.tsx index 3d2b7cc..49a3761 100644 --- a/src/components/Save/Save.tsx +++ b/src/components/Save/Save.tsx @@ -307,8 +307,10 @@ export const Save = ({ isDesktop, disableWidth, myName }) => { {t('core:message.generic.settings', { postProcess: 'capitalizeFirstChar', })} - {' '} + + +