diff --git a/examples/Viewer.tsx b/examples/Viewer.tsx index 7ffcb3c7..8c9fd511 100644 --- a/examples/Viewer.tsx +++ b/examples/Viewer.tsx @@ -271,8 +271,8 @@ class Viewer extends React.Component { const geoAssets = filesArr.reduce((acc, cur, index) => { if (index !== simulariumFileIndex) { acc[cur.name] = parsedFiles[index]; - return acc; } + return acc; }, {}); const fileName = filesArr[simulariumFileIndex].name; this.loadFile(simulariumFile, fileName, geoAssets);