Skip to content

Commit 300a1cf

Browse files
committed
Fix space before question mark in delete prompt
1 parent 0850158 commit 300a1cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/wallet-logger.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ function DeleteWalletLogsObstacle ({ wallet, setLogs, onClose }) {
6262
const { deleteLogs } = useWalletLogManager(setLogs)
6363
const toaster = useToast()
6464

65-
const prompt = `Do you really want to delete all ${wallet ? '' : 'wallet'} logs ${wallet ? 'of this wallet' : ''}?`
65+
let prompt = 'Do you really want to delete all wallet logs?'
66+
if (wallet) {
67+
prompt = 'Do you really want to delete all logs of this wallet?'
68+
}
69+
6670
return (
6771
<div className='text-center'>
6872
{prompt}

0 commit comments

Comments
 (0)