Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit a54fab9

Browse files
fix: convert to string
Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>
1 parent 4af13d8 commit a54fab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/theme/Root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type TRootProps = {
1414
};
1515

1616
if (siteConfig.customFields.trackJsToken) {
17-
TrackJS.install({ token: siteConfig.customFields.trackJsToken });
17+
TrackJS.install({ token: siteConfig.customFields.trackJsToken.toString() });
1818
} else {
1919
console.warn('trackjs is not installed due to a missing token');
2020
}

0 commit comments

Comments
 (0)