File tree Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change 3939 };
4040
4141 const onUploadGestures = () => {
42- filePicker .click ()
42+ filePicker .click ();
4343 };
4444
45- let filePicker: HTMLInputElement
45+ let filePicker: HTMLInputElement ;
4646 onMount (() => {
47- filePicker = document .createElement (' input' )
48- filePicker .type = ' file'
49- filePicker .accept = ' application/JSON'
47+ filePicker = document .createElement (' input' );
48+ filePicker .type = ' file' ;
49+ filePicker .accept = ' application/JSON' ;
5050 filePicker .onchange = () => {
51- if (filePicker .files == null || filePicker .files .length < 1 ){
52- return
51+ if (filePicker .files == null || filePicker .files .length < 1 ) {
52+ return ;
5353 }
54- const f = filePicker .files [0 ]
55- loadDatasetFromFile (f )
56- }
54+ const f = filePicker .files [0 ];
55+ loadDatasetFromFile (f );
56+ };
5757 return () => {
58- filePicker .remove ()
59- }
60- })
61-
58+ filePicker .remove ();
59+ };
60+ });
6261 </script >
6362
6463<!-- Main pane -->
65- <main class =" h-full flex flex-col " >
64+ <main class =" h-full inline-block min-w-full " >
6665 <div >
6766 <DataPageControlBar
6867 clearDisabled ={$gestures .length === 0 }
7271 {onUploadGestures } />
7372 </div >
7473 {#if ! hasSomeData () && ! $state .isInputConnected }
75- <div class =" flex flex-col flex-grow justify-center " >
74+ <div class =" mt-4 " >
7675 <PleaseConnectFirst />
7776 </div >
7877 {:else }
You can’t perform that action at this time.
0 commit comments