chore: Remove optimize imports to allow vite upgrade (#5691)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { isEqual, filter, includes } from "lodash";
|
||||
import filter from "lodash/filter";
|
||||
import includes from "lodash/includes";
|
||||
import isEqual from "lodash/isEqual";
|
||||
import randomstring from "randomstring";
|
||||
import * as React from "react";
|
||||
import { useEffect } from "react";
|
||||
@@ -269,9 +271,7 @@ function WebhookSubscriptionForm({ handleSubmit, webhookSubscription }: Props) {
|
||||
needs to function.
|
||||
</Trans>
|
||||
</Text>
|
||||
|
||||
<EventCheckbox label={t("All events")} value="*" />
|
||||
|
||||
<FieldSet disabled={isAllEventSelected}>
|
||||
<GroupGrid isMobile={isMobile}>
|
||||
{Object.entries(WEBHOOK_EVENTS)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import Router from "koa-router";
|
||||
import { compact, isEmpty } from "lodash";
|
||||
import compact from "lodash/compact";
|
||||
import isEmpty from "lodash/isEmpty";
|
||||
import { ValidationError } from "@server/errors";
|
||||
import auth from "@server/middlewares/authentication";
|
||||
import { WebhookSubscription, Event } from "@server/models";
|
||||
|
||||
Reference in New Issue
Block a user