Skip to content

Commit adc73b8

Browse files
authored
Fix loading states for modals (#35)
* signing transactions and granting access should signal that buttons are working * don't await rejection
1 parent 66747ba commit adc73b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/popup/views/SignTransaction/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const SignTransaction = () => {
9595
const [isConfirming, setIsConfirming] = useState(false);
9696

9797
const rejectAndClose = async () => {
98-
await rejectAccess();
98+
rejectAccess();
9999
window.close();
100100
};
101101

0 commit comments

Comments
 (0)