Skip to content

Commit

Permalink
Lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
irdkwmnsb committed May 13, 2024
1 parent 027469a commit d7f1cd0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const visualizerCodegen = async (): Promise<Plugin> => {
if (req.url === undefined) {
next()
} else if (req.url === "/") {
const visName = req.url.replace("/", "").replace(".html", "")
const _ = req.url.replace("/", "").replace(".html", "")
const body = await server.transformIndexHtml(req.url, await getIndexHTMLTemplate({ manifests: JSON.stringify(visualizers) }))
sendBody(body)
} else if(isVisEntry(req.url)) {
Expand Down
2 changes: 1 addition & 1 deletion src/visualizers/k-means/start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const BubbleSortStarter = ({ doStart }: StartProps<KMeansArguments>) => {
const [randState, setRandState] = useState("42")

const start = useCallback((fullRun: boolean) => {
const [X, y] = makeBlobs(500, k, undefined, undefined, randState)
const [X, _] = makeBlobs(500, k, undefined, undefined, randState)
doStart([k, X], fullRun)
}, [k])

Expand Down
1 change: 0 additions & 1 deletion src/visualizers/turing-machine/tape-render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import _ from "lodash"
import { usePrevious } from "../../utils"
import { Tape } from "./tape"
import styles from "./tape-render.module.scss"
import { memo } from "react"
import classNames from "classnames"

const VIEWPORT = 10
Expand Down

0 comments on commit d7f1cd0

Please sign in to comment.