chore: formatter fix

This commit is contained in:
SwiftHawk 2024-05-16 11:25:30 +05:00 committed by Yury
parent cbe4a683c7
commit 1d59c66611

View File

@ -147,8 +147,8 @@ export const VerifyPage = () => {
<img
onError={imageLoadError}
src={profile?.picture || getRoboImageUrl(pubkey)}
alt='Profile Image'
className='profile-image'
alt="Profile Image"
className="profile-image"
style={{
borderWidth: '3px',
borderStyle: 'solid',
@ -156,14 +156,14 @@ export const VerifyPage = () => {
}}
/>
<Link to={getProfileRoute(pubkey)}>
<Typography component='label' className={styles.name}>
<Typography component="label" className={styles.name}>
{profile?.display_name ||
profile?.name ||
shorten(hexToNpub(pubkey))}
</Typography>
</Link>
{verifySignature && (
<Typography component='label'>
<Typography component="label">
({isValidSignature ? 'Valid' : 'Not Valid'} Signature)
</Typography>
)}
@ -184,7 +184,7 @@ export const VerifyPage = () => {
} else {
toast.error(`Invalid export signature!`)
return (
<Typography component='label' sx={{ color: 'red' }}>
<Typography component="label" sx={{ color: 'red' }}>
Invalid export signature
</Typography>
)
@ -201,12 +201,12 @@ export const VerifyPage = () => {
<Box className={styles.container}>
{!meta && (
<>
<Typography component='label' variant='h6'>
<Typography component="label" variant="h6">
Select exported zip file
</Typography>
<MuiFileInput
placeholder='Select file'
placeholder="Select file"
value={selectedFile}
onChange={(value) => setSelectedFile(value)}
InputProps={{
@ -218,7 +218,7 @@ export const VerifyPage = () => {
{selectedFile && (
<Box sx={{ mt: 2, display: 'flex', justifyContent: 'center' }}>
<Button onClick={handleVerify} variant='contained'>
<Button onClick={handleVerify} variant="contained">
Verify
</Button>
</Box>
@ -245,7 +245,7 @@ export const VerifyPage = () => {
gap: '15px'
}}
>
<Typography variant='h6' sx={{ color: textColor }}>
<Typography variant="h6" sx={{ color: textColor }}>
Submitted By
</Typography>
{displayUser(meta.submittedBy)}
@ -257,7 +257,7 @@ export const VerifyPage = () => {
gap: '15px'
}}
>
<Typography variant='h6' sx={{ color: textColor }}>
<Typography variant="h6" sx={{ color: textColor }}>
Exported By
</Typography>
{displayExportedBy()}
@ -271,7 +271,7 @@ export const VerifyPage = () => {
alignItems: 'flex-start'
}}
>
<Typography variant='h6' sx={{ color: textColor }}>
<Typography variant="h6" sx={{ color: textColor }}>
Signers
</Typography>
<ul className={styles.usersList}>
@ -292,7 +292,7 @@ export const VerifyPage = () => {
alignItems: 'flex-start'
}}
>
<Typography variant='h6' sx={{ color: textColor }}>
<Typography variant="h6" sx={{ color: textColor }}>
Viewers
</Typography>
<ul className={styles.usersList}>
@ -312,7 +312,7 @@ export const VerifyPage = () => {
alignItems: 'flex-start'
}}
>
<Typography variant='h6' sx={{ color: textColor }}>
<Typography variant="h6" sx={{ color: textColor }}>
Files
</Typography>
<ul>