From 9e9dd8e0092d0f4bcf8c4e8b2e23bfe6e5aefe55 Mon Sep 17 00:00:00 2001 From: Jamie Henson Date: Tue, 19 Mar 2024 17:54:33 +0000 Subject: [PATCH] chore: local CSS imports and TS fixes --- src/core/ContactFooter/component.tsx | 1 + src/core/CookieMessage/component.tsx | 1 + src/core/Flash/component.tsx | 2 +- src/core/Footer/component.tsx | 2 +- src/core/Meganav/component.js | 13 ++++++------ src/core/Meganav/component.tsx | 21 +++++++++---------- src/core/MeganavContentCompany/component.tsx | 2 +- .../MeganavContentDevelopers/component.tsx | 2 +- src/core/MeganavItemsMobile/component.tsx | 6 +++--- src/core/Notice/component.tsx | 1 + src/core/Slider/component.tsx | 1 + 11 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/core/ContactFooter/component.tsx b/src/core/ContactFooter/component.tsx index 1c3f5a12..438a7da2 100644 --- a/src/core/ContactFooter/component.tsx +++ b/src/core/ContactFooter/component.tsx @@ -3,6 +3,7 @@ import React, { useEffect } from "react"; import Icon from "../Icon/component.tsx"; import _absUrl from "../url-base.js"; import toggleChatWidget from "../hubspot-chat-toggle"; +import "./component.css"; type ContactFooterProps = { urlBase: string; diff --git a/src/core/CookieMessage/component.tsx b/src/core/CookieMessage/component.tsx index fe345119..a61af340 100644 --- a/src/core/CookieMessage/component.tsx +++ b/src/core/CookieMessage/component.tsx @@ -1,5 +1,6 @@ import React, { useRef, useEffect, useState } from "react"; import Cookie from "js-cookie"; +import "./component.css"; import _absUrl from "../url-base"; diff --git a/src/core/Flash/component.tsx b/src/core/Flash/component.tsx index fe845ba1..e1429a2f 100644 --- a/src/core/Flash/component.tsx +++ b/src/core/Flash/component.tsx @@ -3,7 +3,7 @@ import DOMPurify from "dompurify"; import { nanoid } from "nanoid/non-secure"; import { getRemoteDataStore } from "../remote-data-store.js"; -import ConnectStateWrapper from "../ConnectStateWrapper/component.js"; +import ConnectStateWrapper from "../ConnectStateWrapper/component.tsx"; import Icon from "../Icon/component.tsx"; import "./component.css"; diff --git a/src/core/Footer/component.tsx b/src/core/Footer/component.tsx index 13e4d2bf..4ba85af2 100644 --- a/src/core/Footer/component.tsx +++ b/src/core/Footer/component.tsx @@ -219,7 +219,7 @@ const Footer = ({ paths, urlBase }: FooterProps) => {