Skip to content

Commit

Permalink
clear build warnings on unavailable private package now that npm_toke…
Browse files Browse the repository at this point in the history
…n var is only available in production. this lineage component is not used
  • Loading branch information
JKarlavige committed Sep 28, 2023
1 parent 77e5208 commit 0483ac7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/src/components/lineage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ let Dag = null;

try {
/** As a private package, not every developer will have access to this repo. */
const DagImport = require('@dbt-labs/react-dbt-dag');
require('@dbt-labs/react-dbt-dag/dag.css');
require('@dbt-labs/react-dbt-dag/dag.standalone.css');
// const DagImport = require('@dbt-labs/react-dbt-dag');
// require('@dbt-labs/react-dbt-dag/dag.css');
// require('@dbt-labs/react-dbt-dag/dag.standalone.css');

Dag = DagImport.Dag;
// Dag = DagImport.Dag;
} catch (err) {
/**
* react-dbt-dag is a private repo. Not all developers of the
Expand Down

0 comments on commit 0483ac7

Please sign in to comment.