Skip to content

Commit 69bfa04

Browse files
committed
fix sub name
1 parent db7aa6f commit 69bfa04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gatsby/onPostBuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const parsePathSlug = (slug: string) => {
7979

8080
const { platform, sub_platform } = pathMatch.groups;
8181
const step = String(pathMatch.groups.step).replace(/\./g, "-");
82-
const sub = platform === sub_platform ? `performance-onboarding-${step}` : `performance-onboarding-${sub_platform}-${step}`;
82+
const sub = platform === sub_platform ? `performance-onboarding-${step}` : `${sub_platform}-performance-onboarding-${step}`;
8383

8484
return {
8585
platform,

0 commit comments

Comments
 (0)