Skip to content

Commit

Permalink
Merge pull request #88 from merative/bug/remove-obsolete-comments
Browse files Browse the repository at this point in the history
Remove obsolete comments from sample code as potentially lead to confusion
  • Loading branch information
folkforms authored Jul 24, 2024
2 parents 7657a01 + 4d6fb2d commit ff0c644
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright Merative US L.P. 2022, 2024
*/
// NOTE:
// If you want to use Renderer in the custom-carbon-addons package use the following import:
// import { Renderer } from 'devenv_pkg/src/apollo-client-hooks';

// eslint-disable-next-line importPlugin/no-unresolved
import { Renderer } from "devenv_pkg/src/apollo-client-hooks";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright Merative US L.P. 2021, 2024
*/
// NOTE:
// If you want to use Renderer in the custom-carbon-addons package use the following import:
// import { Renderer } from 'devenv_pkg/src/apollo-client-hooks';

// eslint-disable-next-line importPlugin/no-unresolved
import { Renderer } from "devenv_pkg/src/apollo-client-hooks";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
*/
import React from "react";
import PropTypes from "prop-types";
// NOTE:
// If you want to use ApolloClientDataProvider in the custom-carbon-addons package use the following import:
// import { ApolloClientDataProvider } from 'devenv_pkg/src/apollo-client-hooks';

// eslint-disable-next-line importPlugin/no-unresolved
import ApolloClientDataProvider from "devenv_pkg/src/apollo-client-hooks/core/ApolloClientDataProvider";
import LogoQueryProvider from "./LogoQueryProvider";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import React from "react";
import PropTypes from "prop-types";
// eslint-disable-next-line importPlugin/no-unresolved
import Logo from "devenv_pkg/src/react/addons_samples/Logo/Logo";
// NOTE:
// If you want to use ApolloClientQueryProvider in the custom-carbon-addons package use the following import:
// import { ApolloClientQueryProvider } from 'devenv_pkg/src/apollo-client-hooks';
// eslint-disable-next-line importPlugin/no-unresolved
import ApolloClientQueryProvider from "devenv_pkg/src/apollo-client-hooks/core/ApolloClientQueryProvider";
import { useGetLogo } from "./LogoQuery";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
*/
import React from "react";
import PropTypes from "prop-types";
// NOTE:
// If you want to use ApolloClientDataProvider in the custom-carbon-addons package use the following import:
// import { ApolloClientDataProvider } from 'devenv_pkg/src/apollo-client-hooks';
// eslint-disable-next-line importPlugin/no-unresolved
import ApolloClientDataProvider from "devenv_pkg/src/apollo-client-hooks/core/ApolloClientDataProvider";
import PersonFolioQueryProvider from "./PersonFolioQueryProvider";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
*/
import React from "react";
import PropTypes from "prop-types";
// NOTE:
// If you want to use ApolloClientQueryProvider in the custom-carbon-addons package use the following import:
// import { ApolloClientQueryProvider } from 'devenv_pkg/src/apollo-client-hooks';
// eslint-disable-next-line importPlugin/no-unresolved
import ApolloClientQueryProvider from "devenv_pkg/src/apollo-client-hooks/core/ApolloClientQueryProvider";
// eslint-disable-next-line importPlugin/no-unresolved
Expand Down

0 comments on commit ff0c644

Please sign in to comment.