mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-29 14:38:50 +02:00
Fix babel errors
This commit is contained in:
parent
d2eaf04ec7
commit
d17daaf1c3
5 changed files with 8 additions and 14 deletions
|
@ -17,10 +17,6 @@ const GridBlock = CompLibrary.GridBlock;
|
|||
const siteConfig = require(process.cwd() + "/siteConfig.js");
|
||||
|
||||
class Button extends React.Component {
|
||||
static defaultProps = {
|
||||
target: "_self"
|
||||
};
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className="pluginWrapper buttonWrapper">
|
||||
|
@ -32,6 +28,10 @@ class Button extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
Button.defaultProps = {
|
||||
target: "_self"
|
||||
};
|
||||
|
||||
class HomeSplash extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue