@ndla/util
Advanced tools
Comparing version 3.1.8 to 3.1.9
@@ -14,4 +14,3 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
*/ | ||
import React from 'react'; | ||
import { useEffect, useState } from 'react'; | ||
import React, { useEffect, useState } from 'react'; | ||
import { Fragment as _Fragment } from "@emotion/react/jsx-runtime"; | ||
@@ -18,0 +17,0 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime"; |
@@ -8,6 +8,5 @@ /** | ||
*/ | ||
import { ReactNode } from 'react'; | ||
import { ComponentType } from 'react'; | ||
import { ReactNode, ComponentType } from 'react'; | ||
/** Basic HoC to wrap your component in `NoSSR`, see `NoSSR.tsx` */ | ||
declare function withNoSSR<TProps extends object>(WrappedComponent: ComponentType<any>, fallback?: ReactNode | null): ComponentType<TProps>; | ||
export default withNoSSR; |
{ | ||
"name": "@ndla/util", | ||
"version": "3.1.8", | ||
"version": "3.1.9", | ||
"description": "Collection of util functions used by NDLA", | ||
@@ -40,3 +40,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "069ef3ed8a9641137f8d4de51ab6415985bca997" | ||
"gitHead": "68b1327bb5950eee8a41227b3b48589c7d428bd7" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98860
1419