diff --git a/components/shared/Notification.tsx b/components/shared/Notification.tsx index e5833f4c..b63e710d 100644 --- a/components/shared/Notification.tsx +++ b/components/shared/Notification.tsx @@ -131,30 +131,34 @@ const Notification = ({ notification }: { notification: Notification }) => { leaveTo="-translate-y-2 sm:translate-y-0 sm:-translate-x-48" >
-
-
+
+
{type === 'success' ? ( - + ) : null} {type === 'info' && ( - + )} {type === 'error' && ( - + )} {type === 'confirm' && ( - + )}
-

- {parsedTitle || title} -

+

{parsedTitle || title}

{description ? (

{description}

@@ -167,11 +171,11 @@ const Notification = ({ notification }: { notification: Notification }) => { '?cluster=' + CLUSTER } - className="mt-1 flex items-center text-sm text-th-primary" + className="default-transition mt-1 flex items-center text-xs text-th-fgd-3 hover:text-th-fgd-2" target="_blank" rel="noreferrer" > -
+
{type === 'error' ? txid : `${txid.slice(0, 14)}...${txid.slice(txid.length - 14)}`} @@ -183,7 +187,7 @@ const Notification = ({ notification }: { notification: Notification }) => {
) : null} */} {/*
*/} -
+

{t('token')}

{type === 'input' ? (

{t('max')}