mirror of
https://github.com/usememos/memos.git
synced 2025-03-09 20:13:46 +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({
|
||||
id: webhookId,
|
||||
})
|
||||
.then(({ webhook }) => {
|
||||
if (!webhook) {
|
||||
return;
|
||||
}
|
||||
|
||||
.then((webhook) => {
|
||||
setState({
|
||||
name: webhook.name,
|
||||
url: webhook.url,
|
||||
|
|
Loading…
Reference in a new issue