Skip to content

Commit f0f1feb

Browse files
committed
add typescript annotation
1 parent 8b49e7d commit f0f1feb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/Arguments/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ const Arguments: React.FC<ArgumentsProps> = (props) => {
292292

293293
console.log("TX RAW RESULT", rawResult);
294294
setNotifications((prev) => [...prev, counter]);
295-
setTimeout(() => removeNotification(setNotifications, counter), 3000);
295+
setTimeout(() => removeNotification(setNotifications, counter), 5000);
296296
setCounter((prev) => prev + 1);
297297

298298
break;
@@ -409,9 +409,6 @@ const Arguments: React.FC<ArgumentsProps> = (props) => {
409409
exit={{ opacity: 0, scale: 0.5, transition: { duration: 0.2 } }}
410410
>
411411
dude
412-
{/* <CloseButton
413-
close={() => removeNotification(setNotifications, id)}
414-
/> */}
415412
<button
416413
onClick={() => removeNotification(setNotifications, id)}
417414
>

0 commit comments

Comments
 (0)