Fix form reset

This commit is contained in:
Sacha Weatherstone
2022-01-16 19:13:33 +11:00
parent 033da3c99b
commit 9555ae9913
14 changed files with 100 additions and 9 deletions
+1
View File
@@ -77,6 +77,7 @@ export const Channel = ({ channel }: ChannelProps): JSX.Element => {
});
await connection.setChannel(channelData, (): Promise<void> => {
reset({ ...data });
setLoading(false);
return Promise.resolve();
});