clear channel name input after creation

This commit is contained in:
hippoz 2021-10-22 15:46:46 +03:00
parent 947702e959
commit 21e7fbf011
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -14,6 +14,7 @@ export default function ChannelCreateButton() {
const handleClose = () => {
setIsDialogOpen(false);
setInfo(null);
setChannelNameInput("");
};
const createChannel = async () => {