Skip to content

Commit

Permalink
Wb/async loading (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
walbuc authored Aug 28, 2024
2 parents e317d28 + d98ecf5 commit bef5fc8
Show file tree
Hide file tree
Showing 29 changed files with 2,563 additions and 734 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DAEX_TESSERACT_SERVER=http://localhost:7777
DAEX_TESSERACT_SERVER=https://datasaudi-pytesseract-dev.datawheel.us/tesseract/
12 changes: 4 additions & 8 deletions app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ function ColorPicker({primaryColor, setPrimaryColor, toggleColorScheme}) {

return (
<>
<Affix position={position}>
<ActionIcon onClick={() => setOpened(v => !v)}>
<IconPalette />
</ActionIcon>
</Affix>
<Dialog
w={250}
opened={opened}
Expand Down Expand Up @@ -138,11 +133,8 @@ function mount(container) {
<ThemeProvider>
<Explorer
source={process.env.TESSERACT_SERVER}
// source={"https://api.oec.world/tesseract/"}
// source={"https://api.datasaudi.sa/"}
formatters={formatters}
dataLocale="en,ar"
// height="90vh"
previewLimit={75}
panels={[
{key: "table", label: "Data Table", component: TableView},
Expand All @@ -159,3 +151,7 @@ function mount(container) {
</ThemeProvider>
);
}

// <ActionIcon onClick={() => setOpened(v => !v)}>
// <IconPalette />
// </ActionIcon>
Loading

0 comments on commit bef5fc8

Please sign in to comment.