Skip to content

Commit

Permalink
Fix story
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Sep 20, 2023
1 parent 460c194 commit bd2361b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export default {
component: BalanceOverview,
};

export const DefaultStory = () => <BalanceOverview />;
export const DefaultStory = () => <BalanceOverview balance="$29.50" />;

DefaultStory.storyName = 'Default';
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import mockState from '../../../../test/data/mock-state.json';
import { BalanceOverview } from '.';

const render = () => {
const store = configureStore({
metamask: {
...mockState.metamask,
},
});
const store = configureStore(mockState);
return renderWithProvider(<BalanceOverview />, store);
};

Expand Down

0 comments on commit bd2361b

Please sign in to comment.