From 25f3c6b32a60c4f922394c85d2d7d03fe2cbc143 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Tue, 22 Feb 2022 08:45:33 +0100 Subject: [PATCH] Fix explorer not display issue --- examples/dataset-frictionless/package.json | 2 +- examples/dataset-frictionless/pages/index.js | 2 +- examples/dataset-frictionless/yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/dataset-frictionless/package.json b/examples/dataset-frictionless/package.json index e5a7e740..f8bd143c 100644 --- a/examples/dataset-frictionless/package.json +++ b/examples/dataset-frictionless/package.json @@ -17,7 +17,7 @@ "datapackage-render": "git+https://github.com/frictionlessdata/datapackage-render-js.git", "frictionless.js": "^0.13.4", "next": "latest", - "portal": "https://github.com/datopian/portal.js", + "portal": "git+https://github.com/datopian/portal.js.git", "postcss": "^8.2.10", "react": "^17.0.1", "react-dom": "^17.0.1", diff --git a/examples/dataset-frictionless/pages/index.js b/examples/dataset-frictionless/pages/index.js index b3cb0313..fb115e47 100644 --- a/examples/dataset-frictionless/pages/index.js +++ b/examples/dataset-frictionless/pages/index.js @@ -3,7 +3,7 @@ import { PlotlyChart, ReadMe, DataExplorer, -} from 'portal' +} from 'portal/dist/index.cjs' import path from 'path' import Head from 'next/head' import { getDataset } from '../lib/dataset' diff --git a/examples/dataset-frictionless/yarn.lock b/examples/dataset-frictionless/yarn.lock index d7908816..42f3c690 100644 --- a/examples/dataset-frictionless/yarn.lock +++ b/examples/dataset-frictionless/yarn.lock @@ -10113,9 +10113,9 @@ popper.js@1.16.1-lts: resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1-lts.tgz#cf6847b807da3799d80ee3d6d2f90df8a3f50b05" integrity sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA== -"portal@https://github.com/datopian/portal.js": +"portal@git+https://github.com/datopian/portal.js.git": version "0.1.0" - resolved "https://github.com/datopian/portal.js#8a4cc83813f22071cb1889a6d907833b6bf56093" + resolved "git+https://github.com/datopian/portal.js.git#9843ced6f19495fdd59c6385cba7e4afa4071e2e" dependencies: "@emotion/react" "^11.7.1" "@emotion/styled" "^11.6.0"