chore: fix linter

This commit is contained in:
Steven 2024-04-27 23:36:57 +08:00
parent 92872118b9
commit f9942002f9

View File

@ -33,11 +33,7 @@ const CreateWebhookDialog: React.FC<Props> = (props: Props) => {
.getWebhook({
id: webhookId,
})
.then(({ webhook }) => {
if (!webhook) {
return;
}
.then((webhook) => {
setState({
name: webhook.name,
url: webhook.url,