Skip to content

Commit

Permalink
app: type file buf as ArrayBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
orangecms committed Oct 29, 2023
1 parent 8f6d2b4 commit d97dcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { nodes as iNodes, edges as iEdges } from "./nodes-edges.json";
import { transform, getNodesEdges } from "./lib";

export default function Home() {
const [fbuf, setFbuf] = useState(null);
const [fbuf, setFbuf] = useState<ArrayBuffer | null>(null);
const [inProgress, setInProgress] = useState(false);
const [nodes, setNodes, onNodesChange] = useNodesState([]);
const [edges, setEdges, onEdgesChange] = useEdgesState([]);
Expand Down

0 comments on commit d97dcc1

Please sign in to comment.