mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Load up
This commit is contained in:
parent
87bb6c8437
commit
7d3e7ffdfb
4 changed files with 21 additions and 570 deletions
|
@ -1,14 +1,9 @@
|
|||
import React from "react";
|
||||
import FileInput, { LoadedEvents } from "./components/FileInput";
|
||||
import Ui from "./components/Ui";
|
||||
import data from "./checkmate.json";
|
||||
import { AllEvents } from "./schema";
|
||||
|
||||
export default function App() {
|
||||
const [events, setEvents] = React.useState<LoadedEvents | null>({
|
||||
kind: "ok",
|
||||
events: data as AllEvents,
|
||||
});
|
||||
const [events, setEvents] = React.useState<LoadedEvents | null>(null);
|
||||
|
||||
return (
|
||||
<div className="w-screen h-screen p-2 bg-gray-100">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue