diff --git a/web/components/usa-map/usa-map.tsx b/web/components/usa-map/usa-map.tsx index 2841e04c..c372397e 100644 --- a/web/components/usa-map/usa-map.tsx +++ b/web/components/usa-map/usa-map.tsx @@ -53,8 +53,6 @@ export const USAMap = ({ onClick = (e) => { console.log(e.currentTarget.dataset.name) }, - width = 959, - height = 593, title = 'US states map', defaultFill = '#d3d3d3', customize, @@ -67,40 +65,40 @@ export const USAMap = ({ const stateClickHandler = (state: string) => customize?.[state]?.clickHandler return ( - - {title} - - {States({ - hideStateTitle, - fillStateColor, - stateClickHandler, - })} - - - +
+ + {title} + + {States({ + hideStateTitle, + fillStateColor, + stateClickHandler, + })} + + + + - - + +
) } diff --git a/web/pages/midterms.tsx b/web/pages/midterms.tsx index d1dfb509..47930bc1 100644 --- a/web/pages/midterms.tsx +++ b/web/pages/midterms.tsx @@ -184,67 +184,48 @@ const App = () => {
Governors
House
Related markets