From 2dad3b58c3661c98c95eefd4309f518dc5336d63 Mon Sep 17 00:00:00 2001 From: meriadec Date: Thu, 18 Jan 2018 16:27:39 +0100 Subject: [PATCH] Probably the most surprising flow fix I ever made --- src/components/base/Box/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/base/Box/index.js b/src/components/base/Box/index.js index e6fb2b32..7803f153 100644 --- a/src/components/base/Box/index.js +++ b/src/components/base/Box/index.js @@ -59,7 +59,7 @@ const RawCard = styled(Box).attrs({ bg: 'white', p: 3 })` border-radius: 5px; ` -export const Card = ({ title, ...props }: *) => { +export const Card = ({ title, ...props }: { title: string }) => { if (title) { return (