aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-22 03:12:44 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-22 03:12:44 +0800
commit5edfec68cf19f50977cfb8390528b5601a920936 (patch)
tree62aa738f9d3f9bced2b7bad7b603842fba2dea9c /packages/website/ts
parenteb494f78fa04bb4e6eece27a810e17e665d3a31e (diff)
downloaddexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar
dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.gz
dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.bz2
dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.lz
dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.xz
dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.zst
dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.zip
Fix linting
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/ui/island.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/island.tsx b/packages/website/ts/components/ui/island.tsx
index f157e3052..4bb4741b3 100644
--- a/packages/website/ts/components/ui/island.tsx
+++ b/packages/website/ts/components/ui/island.tsx
@@ -9,8 +9,8 @@ export interface IslandProps {
borderRadius?: string;
}
-const PlainIsland: React.StatelessComponent<IslandProps> = ({ Component, borderRadius, ...rest }) => (
- <Component {...rest} />
+const PlainIsland: React.StatelessComponent<IslandProps> = ({ Component, style, className }) => (
+ <Component style={style} className={className} />
);
export const Island = styled(PlainIsland)`