mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
Fixed create button
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import injectSheet from "react-jss";
|
import injectSheet from "react-jss";
|
||||||
import { type ButtonProps } from "./Button";
|
import { type ButtonProps } from "./Button";
|
||||||
import SubmitButton from "./SubmitButton";
|
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
|
import Button from "./Button";
|
||||||
|
|
||||||
const styles = {
|
const styles = {
|
||||||
spacing: {
|
spacing: {
|
||||||
@@ -19,7 +19,7 @@ class CreateButton extends React.Component<ButtonProps> {
|
|||||||
const { classes } = this.props;
|
const { classes } = this.props;
|
||||||
return (
|
return (
|
||||||
<div className={classNames("has-text-centered", classes.spacing)}>
|
<div className={classNames("has-text-centered", classes.spacing)}>
|
||||||
<SubmitButton {...this.props} />
|
<Button color="primary" {...this.props} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user