Skip to content

Commit

Permalink
Remove .jsx suffix from useGmp and cvelink imports
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier committed Jun 18, 2024
1 parent d79623d commit 655a2a4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/web/pages/cves/details.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import TableData from 'web/components/table/data';
import TableRow from 'web/components/table/row';

import PropTypes from 'web/utils/proptypes';
import useGmp from "web/utils/useGmp.jsx";
import useGmp from "web/utils/useGmp";

const CVSS_PROPS = {
cvssAccessVector: _l('Access Vector'),
Expand Down
2 changes: 1 addition & 1 deletion src/web/pages/cves/row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {RowDetailsToggle} from 'web/entities/row';

import PropTypes from 'web/utils/proptypes';
import {isNumber} from "gmp/utils/identity";
import useGmp from "web/utils/useGmp.jsx";
import useGmp from "web/utils/useGmp";

const Row = ({
actionsComponent: ActionsComponent = EntitiesActions,
Expand Down
2 changes: 1 addition & 1 deletion src/web/pages/cves/table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import TableRow from 'web/components/table/row';
import CveDetails from './details';
import CveRow from './row';
import {isDefined} from "gmp/utils/identity.js";
import useGmp from "web/utils/useGmp.jsx";
import useGmp from "web/utils/useGmp";

const Header = ({
actionsColumn,
Expand Down
4 changes: 2 additions & 2 deletions src/web/pages/nvts/details.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {isDefined, isNumber} from 'gmp/utils/identity';
import {TAG_NA} from 'gmp/models/nvt';

import PropTypes from 'web/utils/proptypes';
import useGmp from "web/utils/useGmp.jsx";
import useGmp from "web/utils/useGmp";

import {na, getTranslatableSeverityOrigin} from 'web/utils/render';

Expand All @@ -33,7 +33,7 @@ import TableRow from 'web/components/table/row';
import References from './references';
import Solution from './solution';
import Pre from './preformatted';
import CveLink from "web/components/link/cvelink.jsx";
import CveLink from "web/components/link/cvelink";

const NvtDetails = ({entity, links = true}) => {
const {
Expand Down
2 changes: 1 addition & 1 deletion src/web/pages/nvts/row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import EntitiesActions from 'web/entities/actions';
import {RowDetailsToggle} from 'web/entities/row';

import PropTypes from 'web/utils/proptypes';
import useGmp from "web/utils/useGmp.jsx";
import useGmp from "web/utils/useGmp";
import {_} from "gmp/locale/lang.js";

const Row = ({
Expand Down
2 changes: 1 addition & 1 deletion src/web/pages/nvts/table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import TableRow from 'web/components/table/row';
import NvtDetails from './details';
import NvtRow from './row';

import useGmp from "web/utils/useGmp.jsx";
import useGmp from "web/utils/useGmp";

const Header = ({
actionsColumn,
Expand Down

0 comments on commit 655a2a4

Please sign in to comment.