Skip to content

Commit

Permalink
Lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
robsimmons committed Mar 24, 2024
1 parent eaa8c4f commit fcf1123
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Data, TRIV_DATA, expose, getRef, hide } from './datastructures/data.js';
import { Data, TRIV_DATA, getRef, hide } from './datastructures/data.js';
import {
ChoiceTree,
ChoiceTreeNode,
Expand Down
3 changes: 0 additions & 3 deletions src/web/SolutionsExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
import { Session } from './sessions.js';
import { ICON_SIZE } from './constants.js';
import SolutionViewer from './SolutionViewer.js';
import React from 'react';

interface Props {
session: Session;
Expand All @@ -21,7 +20,6 @@ interface Props {
export default function SolutionsExplorer({ load, run, pause, setSolution, session }: Props) {
const shouldReload =
session.status !== 'unconnected' && session.status !== 'load-error' && session.textModified;
const [solutionKey, setSolutionKey] = React.useState(crypto.randomUUID());

return (
<>
Expand All @@ -32,7 +30,6 @@ export default function SolutionsExplorer({ load, run, pause, setSolution, sessi
className={shouldReload ? 'urgent' : ''}
onClick={(event) => {
event.preventDefault();
setSolutionKey(crypto.randomUUID());
document.getElementById('session')!.className = 'mobile-view-explorer';
load();
}}
Expand Down
1 change: 0 additions & 1 deletion src/web/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Data, compareData } from '../datastructures/data.js';
import {
ChoiceTree,
ChoiceTreeNode,
factToString,
pathToString,
stepTreeRandomDFS,
} from '../engine/choiceengine.js';
Expand Down

0 comments on commit fcf1123

Please sign in to comment.