diff --git a/react-components/src/components/CacheProvider/types.ts b/react-components/src/components/CacheProvider/types.ts index 13b9980b53a..104ad17cb73 100644 --- a/react-components/src/components/CacheProvider/types.ts +++ b/react-components/src/components/CacheProvider/types.ts @@ -7,7 +7,7 @@ import { type AnnotationsBoundingVolume, type Node3D, type AnnotationsCogniteAnnotationTypesImagesAssetLink, - AssetMapping3D + type AssetMapping3D } from '@cognite/sdk'; import { type DmsUniqueIdentifier, type Source, type EdgeItem } from '../../utilities/FdmSDK'; import { type InModel3dEdgeProperties } from '../../utilities/globalDataModels'; diff --git a/react-components/src/components/RuleBasedOutputs/utils.ts b/react-components/src/components/RuleBasedOutputs/utils.ts index 33286a51526..54e903a7594 100644 --- a/react-components/src/components/RuleBasedOutputs/utils.ts +++ b/react-components/src/components/RuleBasedOutputs/utils.ts @@ -500,6 +500,3 @@ const convertExpressionStringMetadataKeyToLowerCase = (expression: Expression): expression.trigger.key = expression.trigger.key.toLowerCase(); }; - -export const delayMs = async (delayTimeMs: number) => - await new Promise((r) => setTimeout(r, delayTimeMs));