Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWangJustToDo committed Jan 24, 2024
1 parent 311f884 commit 29253ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/react-example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const worker = new Worker(new URL("./worker.ts", import.meta.url), {
type K = "a" | "b" | "c" | "d" | "e";

function App() {
const [v, setV] = useState<K>("e");
const [v, setV] = useState<K>("b");

const [diffFileInstance, setDiffFileInstance] = useState<DiffFile>();

Expand Down Expand Up @@ -127,8 +127,8 @@ function App() {
</div>
</div>
)}
data={data[v]}
// diffFile={diffFileInstance}
// data={data[v]}
diffFile={diffFileInstance}
extendData={extend}
renderExtendLine={({ data }) => {
return (
Expand Down

0 comments on commit 29253ca

Please sign in to comment.