refactor: remove error message in StatusContent

This commit is contained in:
sevichecc 2023-04-15 00:12:13 +08:00
parent e4663cd121
commit b5816a37e4
Signed by untrusted user who does not match committer: SevicheCC
GPG key ID: C577000000000000

View file

@ -7,7 +7,6 @@ interface statusProps {
}
const StatusContent = ({ isMarkdown, draftStatus }: statusProps) => {
const [error, setError] = useState<boolean>(false);
const [statusContent, setStatusContent] = useState<string>(draftStatus || "");
return (