From 4ba9767b94fc5b79ab1d8c1da99ef1c8caaf8212 Mon Sep 17 00:00:00 2001 From: boojack Date: Thu, 19 Jan 2023 09:16:22 +0800 Subject: [PATCH] fix: use input instead of textfield (#973) --- web/package.json | 2 +- web/src/components/CreateTagDialog.tsx | 4 +-- web/yarn.lock | 38 +++++++++++++------------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/web/package.json b/web/package.json index 302ce8714..a5520a56a 100644 --- a/web/package.json +++ b/web/package.json @@ -9,7 +9,7 @@ "dependencies": { "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", - "@mui/joy": "^5.0.0-alpha.56", + "@mui/joy": "^5.0.0-alpha.63", "@reduxjs/toolkit": "^1.8.1", "axios": "^0.27.2", "copy-to-clipboard": "^3.3.2", diff --git a/web/src/components/CreateTagDialog.tsx b/web/src/components/CreateTagDialog.tsx index 3dc57e638..ec025076c 100644 --- a/web/src/components/CreateTagDialog.tsx +++ b/web/src/components/CreateTagDialog.tsx @@ -1,4 +1,4 @@ -import { TextField } from "@mui/joy"; +import { Input } from "@mui/joy"; import React, { useEffect, useState } from "react"; import { useTagStore } from "../store/module"; import { getTagSuggestionList } from "../helpers/api"; @@ -88,7 +88,7 @@ const CreateTagDialog: React.FC = (props: Props) => {
-