Skip to content

Commit ae2828f

Browse files
committed
Updated vite bundling:
1 parent b7585e8 commit ae2828f

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import h from "@macrostrat/hyper";
22
import { ColumnNavigationMap } from "@macrostrat/column-views";
33
import { mapboxAccessToken } from "@macrostrat-web/settings";
4+
import { ErrorBoundary } from "@macrostrat/ui-components";
45

56
export function ColumnMap({
67
projectID,
@@ -9,12 +10,15 @@ export function ColumnMap({
910
selectedColumn,
1011
onSelectColumn,
1112
}) {
12-
return h(ColumnNavigationMap, {
13-
className,
14-
inProcess,
15-
projectID,
16-
accessToken: mapboxAccessToken,
17-
selectedColumn,
18-
onSelectColumn,
19-
});
13+
return h(
14+
ErrorBoundary,
15+
h(ColumnNavigationMap, {
16+
className,
17+
inProcess,
18+
projectID,
19+
accessToken: mapboxAccessToken,
20+
selectedColumn,
21+
onSelectColumn,
22+
})
23+
);
2024
}

vite.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ export default defineConfig({
7474
"react-dom",
7575
"@macrostrat/column-components",
7676
"@macrostrat/ui-components",
77+
"@macrostrat/column-views",
78+
"@macrostrat/mapbox-react",
7779
],
7880
},
7981
plugins: [

0 commit comments

Comments
 (0)