Skip to content

Commit

Permalink
move geo Preview to Visualizations
Browse files Browse the repository at this point in the history
  • Loading branch information
max-zilla committed Jul 11, 2023
1 parent 60b3385 commit 008ca36
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 75 deletions.
3 changes: 2 additions & 1 deletion frontend/registerComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const glob = require("glob");
const registerDecoratorPath = "src/visualization.config.tsx";

function registerComponents() {
const files = glob.sync("src/components/previewers/*/manifest.json", {
const files = glob.sync("src/components/visualizations/*/manifest.json", {
ignore: "node_modules/**",
});

Expand All @@ -25,6 +25,7 @@ function registerComponents() {
});

fs.appendFileSync(registerDecoratorPath, "export { vizConfig };" + "\n");

console.log("Component registration complete.");
}

Expand Down
32 changes: 0 additions & 32 deletions frontend/src/components/errors/LazyLoadErrorBoundary.tsx

This file was deleted.

42 changes: 0 additions & 42 deletions frontend/src/components/previewers/Preview.tsx

This file was deleted.

0 comments on commit 008ca36

Please sign in to comment.