mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix linter
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user