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({ .getWebhook({
id: webhookId, id: webhookId,
}) })
.then(({ webhook }) => { .then((webhook) => {
if (!webhook) {
return;
}
setState({ setState({
name: webhook.name, name: webhook.name,
url: webhook.url, url: webhook.url,