Skip to content

Commit

Permalink
Update Help.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed Oct 20, 2023
1 parent ff55a04 commit 47ce386
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions astro/src/components/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import styles from './Help.module.css'
import { useState, useEffect } from 'preact/hooks'
import { marked } from 'marked'
import { loadCodeFromString } from "../lib/loadCodeFromString.ts";
import { removeQueryParam } from "../lib/removeQueryParam.js";

marked.setOptions({
highlight: function (code, language) {
Expand Down Expand Up @@ -45,8 +44,6 @@ export default function Help({

if (confirm("Clear text editor?")) loadCodeFromString("");

removeQueryParam("guide");


const res = await fetch(
`https://raw.githubusercontent.com/hackclub/blot/main/guides/${workshop}.md`
Expand Down

1 comment on commit 47ce386

@vercel
Copy link

@vercel vercel bot commented on 47ce386 Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blot – ./astro

blot-git-main.hackclub.dev
blot.hackclub.dev

Please sign in to comment.