Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbinianK committed Mar 8, 2024
1 parent 35ede6e commit f521d4e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// Clear the input field
export const clearAddress = (): void => {
if(inputElement) inputElement.value = '';
if (inputElement) inputElement.value = '';
ethereumAddress = '';
state = State.DEFAULT;
};
Expand Down
2 changes: 0 additions & 2 deletions packages/bridge-ui/src/libs/bridge/ETHBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { bridgeService } from '$config';
import { BridgePausedError, SendMessageError } from '$libs/error';
import type { BridgeProver } from '$libs/proof';
import { isBridgePaused } from '$libs/util/checkForPausedContracts';
import { getConnectedWallet } from '$libs/util/getConnectedWallet';
import { getLogger } from '$libs/util/logger';
import { config } from '$libs/wagmi';

Expand Down Expand Up @@ -134,5 +133,4 @@ export class ETHBridge extends Bridge {
throw new SendMessageError('failed to bridge ETH', { cause: err });
}
}

}
3 changes: 0 additions & 3 deletions packages/bridge-ui/src/libs/bridge/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ export type BridgeTransaction = {

status?: MessageStatus;
receipt?: ModifiedTransactionReceipt;

msgHash?: Hash;
message?: Message;
};

interface BaseBridgeTransferOp {
Expand Down

0 comments on commit f521d4e

Please sign in to comment.