Skip to content

Commit

Permalink
🔥 Remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarbar338 committed Sep 30, 2022
1 parent aa730dd commit 401de26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pages/git/[repo]/browse/[...file].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const BrowsePage: NextPage<IBrowsePage> = ({ repo, file }) => {
const content = file ? Buffer.from(file).toString() : "?";

useEffect(() => {
console.log("CHANGF");
const contentDiv = document.getElementById("content") as HTMLDivElement;
const highlighted = hljs.highlightAuto(content).value;
contentDiv.innerHTML = `<pre>${highlighted}</pre>`;
Expand Down

0 comments on commit 401de26

Please sign in to comment.