mirror of
https://github.com/usememos/memos.git
synced 2025-03-10 04:23:01 +08:00
chore: fix linter
This commit is contained in:
parent
92872118b9
commit
f9942002f9
1 changed files with 1 additions and 5 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue