Skip to content

Commit

Permalink
fix: chains context
Browse files Browse the repository at this point in the history
  • Loading branch information
jagnani73 committed Dec 5, 2023
1 parent 66d222b commit bde39f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import "../src/tailwind-output.css";
import { themes } from "@storybook/theming";
import { CovalentProvider } from "../src/utils/store/Covalent";
import { ChainsProvider } from "../src/utils/store/Chains";
// import { useDarkMode } from 'storybook-dark-mode' // uncomment out this one line for dark mode

export const parameters = {
Expand Down Expand Up @@ -56,7 +57,9 @@ const preview: Preview = {
<CovalentProvider
apikey={import.meta.env.STORYBOOK_COVALENT_API_KEY}
>
<Story />
<ChainsProvider>
<Story />
</ChainsProvider>
</CovalentProvider>
),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const TokenBalancesListView: React.FC<TokenBalancesListViewProps> = ({
const protocol_url = row.original.logo_urls.protocol_logo_url;

return (
<div className="flex items-center gap-3 ">
<div className="flex items-center gap-3">
<TokenAvatar
size={GRK_SIZES.EXTRA_SMALL}
chain_color={chainColor}
Expand Down

0 comments on commit bde39f7

Please sign in to comment.