mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
Merge pull request #18 from bknd-io/17-cannot-find-module-node_moduleslodash-esget
fix: lodash-es/* imports causing crash on astro
This commit is contained in:
@@ -12,7 +12,7 @@ import type {
|
|||||||
ValidatorType
|
ValidatorType
|
||||||
} from "@rjsf/utils";
|
} from "@rjsf/utils";
|
||||||
import { toErrorSchema } from "@rjsf/utils";
|
import { toErrorSchema } from "@rjsf/utils";
|
||||||
import get from "lodash-es/get";
|
import { get } from "lodash-es";
|
||||||
|
|
||||||
function removeUndefinedKeys(obj: any): any {
|
function removeUndefinedKeys(obj: any): any {
|
||||||
if (!obj) return obj;
|
if (!obj) return obj;
|
||||||
|
|||||||
@@ -14,9 +14,7 @@ import {
|
|||||||
getWidget,
|
getWidget,
|
||||||
mergeSchemas
|
mergeSchemas
|
||||||
} from "@rjsf/utils";
|
} from "@rjsf/utils";
|
||||||
import get from "lodash-es/get";
|
import { get, isEmpty, omit } from "lodash-es";
|
||||||
import isEmpty from "lodash-es/isEmpty";
|
|
||||||
import omit from "lodash-es/omit";
|
|
||||||
import { Component } from "react";
|
import { Component } from "react";
|
||||||
import { twMerge } from "tailwind-merge";
|
import { twMerge } from "tailwind-merge";
|
||||||
import { Label } from "../templates/FieldTemplate";
|
import { Label } from "../templates/FieldTemplate";
|
||||||
|
|||||||
Reference in New Issue
Block a user