From 0b88bc9a8f96fa4837ea95c0f2bd1c03578061cb Mon Sep 17 00:00:00 2001 From: "Tim R. Bula" Date: Wed, 6 Jul 2022 17:05:55 -0500 Subject: [PATCH] fix: ssr for header --- package.json | 2 +- src/components/Header/Header.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 823009c1..2873e0ce 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@boomerang-io/carbon-addons-boomerang-react", "description": "Carbon Addons for Boomerang apps", - "version": "2.0.7", + "version": "2.0.8", "author": { "name": "Tim Bula", "email": "timrbula@gmail.com" diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js index 3e9342e6..894f8a2d 100644 --- a/src/components/Header/Header.js +++ b/src/components/Header/Header.js @@ -13,6 +13,7 @@ import { import { settings } from 'carbon-components'; import FocusTrap from 'focus-trap-react'; import { SkipToContent } from 'carbon-components-react'; +import window from 'window-or-global'; import PlatformNotificationsContainer from '../PlatformNotifications'; import HeaderMenu from '../HeaderMenu'; import NotificationsContainer from '../Notifications/NotificationsContainer';