Skip to content

Commit

Permalink
feat: doesn't support whitespace slurping yet _%>
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 committed Sep 23, 2023
1 parent 26bccfb commit 438f1d1
Showing 1 changed file with 2 additions and 2 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";<% } _%>
<% 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 @@ -30,7 +30,7 @@ const Header = ({ nav }: IHeader): JSX.Element => {
<NavBar nav={nav} headerPadding={headerPadding} />
</div>
<div className="flex items-center self-center">
<% if (search) { %><SearchModal /><% } _%>
<% if (search) { %><SearchModal /><% } %>
<CartMenu />
</div>
</div>
Expand Down

0 comments on commit 438f1d1

Please sign in to comment.