@evergis/react 4.0.5 → 4.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.esm.js CHANGED
@@ -10672,9 +10672,10 @@ const useDashboardHeader = () => {
10672
10672
  const { children, options } = header || {};
10673
10673
  const { url } = options || {};
10674
10674
  const renderElement = useHeaderRender(header);
10675
- const image = useMemo(() => children?.some(({ id }) => id === "image")
10675
+ const imageUrl = useMemo(() => children?.some(({ id }) => id === "image")
10676
10676
  ? getResourceUrl(renderElement({ id: "image", wrap: false }))
10677
10677
  : null, [children, renderElement]);
10678
+ const image = useFetchImageWithAuth(imageUrl);
10678
10679
  const icon = useMemo(() => children?.some(({ id }) => id === "icon") ? (renderElement({ id: "icon", wrap: false })) : (jsx(Icon, { kind: "logo", style: { width: "2rem", height: "2rem" } })), [children, renderElement]);
10679
10680
  const title = useMemo(() => children?.some(({ id }) => id === "title")
10680
10681
  ? renderElement({ id: "title" })