button: fixes warning

This commit is contained in:
@wwwjim 2020-07-20 23:00:04 -07:00
parent 88b6613ca1
commit 2be000986a
2 changed files with 9 additions and 3 deletions

View File

@ -97,7 +97,13 @@ export const ButtonPrimaryFull = (props) => {
);
}
return <button css={STYLES_BUTTON_PRIMARY_FULL} {...props} />;
return (
<button
css={STYLES_BUTTON_PRIMARY_FULL}
style={props.style}
onClick={props.onClick}
/>
);
};
const STYLES_BUTTON_SECONDARY = css`

View File

@ -68,9 +68,9 @@ export default class IndexPage extends React.Component {
<a href="https://filecoin.io/">Filecoin</a>.
<br />
<br />
<a href="/application">Test Application (Local Only)</a>
<a href="/application">Run Slate</a>
<br />
<a href="/system">View Design System</a>
<a href="/system">Use Slate's Design System</a>
</p>
</div>
</WebsitePrototypeWrapper>