diff --git a/app/(datasets)/exploration/exploration.tsx b/app/(datasets)/exploration/exploration.tsx
index ee856e7..10af552 100644
--- a/app/(datasets)/exploration/exploration.tsx
+++ b/app/(datasets)/exploration/exploration.tsx
@@ -1,17 +1,16 @@
'use client';
import React, { useState } from 'react';
-import { useAtom } from 'jotai';
import Link from 'next/link';
-import { ExplorationAndAnalysis, timelineDatasetsAtom, DatasetSelectorModal } from 'app/lib';
+import { ExplorationAndAnalysis, DatasetSelectorModal, useTimelineDatasetAtom } from 'app/lib';
export default function ExplorationAnalysis({
datasets
}: {
datasets: any;
}) {
- const [explorationDatasets, setExplorationDatasets] = useAtom(timelineDatasetsAtom);
+ const [timelineDatasets, setTimelineDatasets] = useTimelineDatasetAtom();
const [datasetModalRevealed, setDatasetModalRevealed] = useState(
- !!datasets.length
+ !timelineDatasets.length
);
@@ -42,8 +41,8 @@ export default function ExplorationAnalysis({
return (
<>
- {
- datasetModalRevealed && (
+
+
- )
- }
-
+
+
+
>
)
};
\ No newline at end of file
diff --git a/app/(datasets)/exploration/page.tsx b/app/(datasets)/exploration/page.tsx
index 78790ac..eb4259e 100644
--- a/app/(datasets)/exploration/page.tsx
+++ b/app/(datasets)/exploration/page.tsx
@@ -5,7 +5,6 @@ import { PageHero } from 'app/lib';
export default function Page() {
const datasets: any[] = getDatasets();
-
// @TODO: Investigate why we need to set 100vh
return (
diff --git a/app/blog/datasets/no2.mdx b/app/blog/datasets/no2.mdx
index 3a3946f..afc1291 100644
--- a/app/blog/datasets/no2.mdx
+++ b/app/blog/datasets/no2.mdx
@@ -61,7 +61,7 @@ layers:
stacCol: no2-monthly
name: No2 PT
media:
- src: ::file ./img-placeholder-3.jpg
+ src: /images/dataset/no2--dataset-cover.jpg
alt: Placeholder Image
type: raster
projection:
diff --git a/app/lib/index.ts b/app/lib/index.ts
index e3c7cf1..306a79a 100644
--- a/app/lib/index.ts
+++ b/app/lib/index.ts
@@ -1,5 +1,5 @@
'use client';
-import { CatalogView, PageHero, useFiltersWithQS, ExplorationAndAnalysis, DatasetSelectorModal, timelineDatasetsAtom } from '@developmentseed/veda-ui';
+import { CatalogView, PageHero, useFiltersWithQS, ExplorationAndAnalysis, DatasetSelectorModal, timelineDatasetsAtom, useTimelineDatasetAtom } from '@developmentseed/veda-ui';
export {
CatalogView,
@@ -8,4 +8,5 @@ export {
ExplorationAndAnalysis,
DatasetSelectorModal,
timelineDatasetsAtom,
+ useTimelineDatasetAtom
}
\ No newline at end of file
diff --git a/next.config.js b/next.config.js
index 393accc..e8600f9 100644
--- a/next.config.js
+++ b/next.config.js
@@ -16,6 +16,7 @@ module.exports = {
},
];
},
+ reactStrictMode: false,
webpack: (config) => {
config.resolve.alias = {
...(config.resolve.alias || {}),
diff --git a/yarn.lock b/yarn.lock
index a153125..7241ec5 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -303,10 +303,10 @@
style-mod "^4.1.0"
w3c-keyname "^2.2.4"
-"@developmentseed/veda-ui@v5.7.0-alpha.1":
- version "5.7.0-alpha.1"
- resolved "http://verdaccio.ds.io:4873/@developmentseed%2fveda-ui/-/veda-ui-5.7.0-alpha.1.tgz#8383fd94525b38fe5d5a9cb2a77165488825a6ab"
- integrity sha512-7GWI3oM8MiRO9gQklHtV7MEUf0kbipTvvjvTmPdZGtYS/SV+EA9WiHLoL6tg9oGN90gW0OBsuwJDHt6CbWuzDQ==
+"@developmentseed/veda-ui@v5.8.0-ea.0":
+ version "5.8.0-ea.0"
+ resolved "http://verdaccio.ds.io:4873/@developmentseed%2fveda-ui/-/veda-ui-5.8.0-ea.0.tgz#321e5f476c04b97348844ece720458e9e4995058"
+ integrity sha512-dglUBWmajbPRz4XhCIsu13FtTDk9OpD4STL/Mitk1E0fFp/XRr0DrYwD4+CN7wUF/+0RatlhSpFT6fcCVf1Elg==
dependencies:
"@codemirror/lang-markdown" "^6.1.1"
"@codemirror/state" "^6.2.1"