mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor: replace MUI button on FullPageHorizontalForm (#16211)
Related to https://github.com/coder/coder/issues/14978
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import Button from "@mui/material/Button";
|
||||
import { Button } from "components/Button/Button";
|
||||
import { Margins } from "components/Margins/Margins";
|
||||
import {
|
||||
PageHeader,
|
||||
@@ -25,7 +25,7 @@ export const FullPageHorizontalForm: FC<FullPageHorizontalFormProps> = ({
|
||||
<PageHeader
|
||||
actions={
|
||||
onCancel && (
|
||||
<Button size="small" onClick={onCancel}>
|
||||
<Button variant="outline" onClick={onCancel}>
|
||||
Cancel
|
||||
</Button>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user