Skip to content

chore(site): remove Typography component #10769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 20, 2023
Prev Previous commit
Next Next commit
Remove Typography from file dialog
  • Loading branch information
BrunoQuaresma committed Nov 17, 2023
commit 51f1cc73a00551892b5c92c5489c164b58f4777e
7 changes: 3 additions & 4 deletions site/src/pages/TemplateVersionEditorPage/FileDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import TextField from "@mui/material/TextField";
import { ConfirmDialog } from "components/Dialogs/ConfirmDialog/ConfirmDialog";
import { Stack } from "components/Stack/Stack";
import { ChangeEvent, FC, useState } from "react";
import Typography from "@mui/material/Typography";
import { allowedExtensions, isAllowedFile } from "utils/templateVersion";
import { FileTree, isFolder, validatePath } from "utils/filetree";

Expand Down Expand Up @@ -59,11 +58,11 @@ export const CreateFileDialog: FC<{
confirmText="Create"
title="Create File"
description={
<Stack>
<Typography>
<Stack spacing={4}>
<p>
Specify the path to a file to be created. This path can contain
slashes too.
</Typography>
</p>
<TextField
autoFocus
onKeyDown={(event) => {
Expand Down