From a36703a13767f0ca21410b9c3b29a281823fc1a8 Mon Sep 17 00:00:00 2001 From: "Peter A. Jonsson" Date: Sat, 15 Feb 2025 14:58:27 +0100 Subject: [PATCH] index.js: fix arguments to ViewState There are two arguments required for ViewStateOptions, so put in a second argument with an undefined value which is what is used at other call sites. This mirrors the same change in terriajs: https://github.com/TerriaJS/terriajs/pull/7204 --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 504e13e532..7367693d89 100644 --- a/index.js +++ b/index.js @@ -43,7 +43,8 @@ registerCustomComponentTypes(terria); // Create the ViewState before terria.start so that errors have somewhere to go. const viewState = new ViewState({ - terria: terria + terria: terria, + catalogSearchProvider: undefined }); registerCatalogMembers();