Skip to content

Commit 51f1cc7

Browse files
committed
Remove Typography from file dialog
1 parent 65e6038 commit 51f1cc7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

site/src/pages/TemplateVersionEditorPage/FileDialog.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import TextField from "@mui/material/TextField";
22
import { ConfirmDialog } from "components/Dialogs/ConfirmDialog/ConfirmDialog";
33
import { Stack } from "components/Stack/Stack";
44
import { ChangeEvent, FC, useState } from "react";
5-
import Typography from "@mui/material/Typography";
65
import { allowedExtensions, isAllowedFile } from "utils/templateVersion";
76
import { FileTree, isFolder, validatePath } from "utils/filetree";
87

@@ -59,11 +58,11 @@ export const CreateFileDialog: FC<{
5958
confirmText="Create"
6059
title="Create File"
6160
description={
62-
<Stack>
63-
<Typography>
61+
<Stack spacing={4}>
62+
<p>
6463
Specify the path to a file to be created. This path can contain
6564
slashes too.
66-
</Typography>
65+
</p>
6766
<TextField
6867
autoFocus
6968
onKeyDown={(event) => {

0 commit comments

Comments
 (0)