Skip to content

Commit 417698e

Browse files
authored
rm npm label(#645)
1 parent e2ea238 commit 417698e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/LandingHome.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function LandingHome() {
5858
useEffect(() => {
5959
resetSlices();
6060
if (initStore.startsWith('local:')) {
61-
const path = initStore.replace('local:npm', '');
61+
const path = initStore.replace('local:', '');
6262
if (!NETCDF_EXT_REGEX.test(path)) return; // TODO: handled zarr
6363
const filename = path.split('/').pop() ?? 'file.nc';
6464
fetch(`/file?path=${encodeURIComponent(path)}`)

0 commit comments

Comments
 (0)