mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-20 10:47:18 +03:00
button: fixes warning
This commit is contained in:
parent
88b6613ca1
commit
2be000986a
@ -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`
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user