Skip to content

Commit f415106

Browse files
committed
format
1 parent f8733aa commit f415106

2 files changed

Lines changed: 32148 additions & 143 deletions

File tree

src/components/MDX/Challenges/Challenges.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ export function Challenges({
104104
const initIndex = challenges.findIndex(
105105
(challenge) =>
106106
challenge.id ===
107-
(typeof window !== 'undefined'
108-
? window.location.hash.slice(1)
109-
: '')
107+
(typeof window !== 'undefined' ? window.location.hash.slice(1) : '')
110108
);
111109
if (initIndex === -1) {
112110
queuedScrollRef.current = undefined;

0 commit comments

Comments
 (0)