From 9e959ca45524ce8d8036dd3365bb2d049a1d89a3 Mon Sep 17 00:00:00 2001 From: Connor McEwen Date: Fri, 7 Oct 2022 12:00:42 -0400 Subject: [PATCH] fix: import widget font (#4813) * import widget font * update comment --- src/components/Widget/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Widget/index.tsx b/src/components/Widget/index.tsx index c6e661d48c..ebdcd224b4 100644 --- a/src/components/Widget/index.tsx +++ b/src/components/Widget/index.tsx @@ -1,3 +1,7 @@ +// Import fonts.css for the side-effect of loading fonts for @uniswap/widgets. +// eslint-disable-next-line no-restricted-imports +import '@uniswap/widgets/dist/fonts.css' + import { Currency, EMPTY_TOKEN_LIST, OnReviewSwapClick, SwapWidget, SwapWidgetSkeleton } from '@uniswap/widgets' import { useWeb3React } from '@web3-react/core' import { useActiveLocale } from 'hooks/useActiveLocale'