Skip to content

Commit

Permalink
chore: bridge controller getState method
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelae committed Jul 24, 2024
1 parent aace6fe commit 3c05d7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/scripts/controllers/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ export default class BridgeController {
bridgeState: initialState,
});

getState = () => {
return this.store.getState();
};

resetState = () => {
this.store.updateState({
bridgeState: {
Expand Down

0 comments on commit 3c05d7c

Please sign in to comment.