aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-29 22:26:21 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-29 22:26:21 +0800
commit200da7d22cda1a853105d6114848f7e09d18370f (patch)
tree12780637b6e487647a3aca3c6ab0cd7f93127e79
parenta114cf5c2eebb62af1faff4c4186d542612f84cc (diff)
downloaddexon-0x-contracts-200da7d22cda1a853105d6114848f7e09d18370f.tar
dexon-0x-contracts-200da7d22cda1a853105d6114848f7e09d18370f.tar.gz
dexon-0x-contracts-200da7d22cda1a853105d6114848f7e09d18370f.tar.bz2
dexon-0x-contracts-200da7d22cda1a853105d6114848f7e09d18370f.tar.lz
dexon-0x-contracts-200da7d22cda1a853105d6114848f7e09d18370f.tar.xz
dexon-0x-contracts-200da7d22cda1a853105d6114848f7e09d18370f.tar.zst
dexon-0x-contracts-200da7d22cda1a853105d6114848f7e09d18370f.zip
Fix type def
-rw-r--r--packages/website/ts/@next/components/button.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index 067576d3c..e98388248 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -9,7 +9,7 @@ interface ButtonInterface {
transparent?: boolean;
inline?: boolean;
href?: string,
- onClick?: Function,
+ onClick?: () => void;
}
const StyledButton = styled.button<ButtonInterface>`