Skip to content

Commit

Permalink
finishing build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cphelefu committed Aug 6, 2024
1 parent 40a5519 commit a11b840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function AddLayerTree(props: AddLayerTreeProps): JSX.Element | null {
checkboxSelection
defaultExpandedItems={defaultExpandedItems}
defaultSelectedItems={defaultSelectedItems}
onSelectedItemsChange={handleSelectedItemsChange}
onSelectedItemsChange={(event: React.SyntheticEvent, itemIds: Array<string> | string) => handleSelectedItemsChange(event, itemIds)}
>
{renderTreeItems()}
</SimpleTreeView>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export function AddNewLayer(): JSX.Element {

const populateLayerList = async (curlayerType: TypeGeoviewLayerType) => {

Check warning on line 182 in packages/geoview-core/src/core/components/layers/left-panel/add-new-layer/add-new-layer.tsx

View workflow job for this annotation

GitHub Actions / Build demo files / build-geoview

Missing return type on function
try {
const layersTree = await api.configApi.createMetadataLayerTree(layerURL, curlayerType, [], 'en');
const layersTree = await api.config.createMetadataLayerTree(layerURL, curlayerType, [], 'en');
setLayerList(layersTree as GroupLayerEntryConfig[]);
setHasMetadata(true);
return true;
Expand Down

0 comments on commit a11b840

Please sign in to comment.