Skip to content

Commit 8847cfd

Browse files
committed
fix(editor): repeated loading
1 parent 2cd8caa commit 8847cfd

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

packages/hedgehog-lab/src/hooks/useEditorMeta.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ export const useEditorMeta = () => {
1919
if (isUserSnippetPage) {
2020
const {userID, snippetID} = isUserSnippetPage?.params
2121
URL = `/snippets?user=${userID}&title=${snippetID}`
22-
if (auth.accessToken) {
23-
URL = `${URL}&token=${auth.accessToken}`
24-
}
2522
currentFilePath = `/s/${userID}/${snippetID}`
2623
}
2724

0 commit comments

Comments
 (0)