Commit f9942002 authored by Steven's avatar Steven

chore: fix linter

parent 92872118
...@@ -33,11 +33,7 @@ const CreateWebhookDialog: React.FC<Props> = (props: Props) => { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment