Skip to content

Commit

Permalink
feat: attempted fix for prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 committed Sep 24, 2023
1 parent 783a0a3 commit a7dcc74
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NavigationNode } from "../../lib/build-site-navigation";
<% if (search) { %>import SearchModal from "../search/SearchModal";<% } %>
import { NavigationNode } from "../../lib/build-site-navigation";<% if (search) { %>
import SearchModal from "../search/SearchModal";<% } %>
import MobileNavBar from "./navigation/MobileNavBar";
import EpIcon from "../../../public/icons/ep-icon.svg";
import NavBar from "./navigation/NavBar";
Expand Down Expand Up @@ -29,8 +29,8 @@ const Header = ({ nav }: IHeader): JSX.Element => {
<div className="w-full max-w-base-max-width">
<NavBar nav={nav} headerPadding={headerPadding} />
</div>
<div className="flex items-center self-center">
<% if (search) { %><SearchModal /><% } %>
<div className="flex items-center self-center"><% if (search) { %>
<SearchModal /><% } %>
<CartMenu />
</div>
</div>
Expand Down

0 comments on commit a7dcc74

Please sign in to comment.