Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
- Lint Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-M-Ensemble committed Mar 4, 2024
1 parent 6ac9fdd commit 3fcc7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/marketing/marketing.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function decorate(block) {
let pageName = window.location.pathname.slice(1);
if (!pageName) {
pageName = 'homepage';
} else if (pageName.startsWith("news")) {
} else if (pageName.startsWith('news')) {
pageName = 'news';
} if (pageName.includes('/')) {
pageName = pageName.substring(pageName.lastIndexOf('/') + 1);
Expand Down

0 comments on commit 3fcc7ba

Please sign in to comment.