Skip to content

Commit

Permalink
Change: Move useLicense hook to hooks directory
Browse files Browse the repository at this point in the history
The license feature is unused and could possibly removed completely. But
until now we should get a consistent directory layout.
  • Loading branch information
bjoernricks committed Jun 20, 2024
1 parent 68b3486 commit 25af2e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/web/components/notification/licensenotification.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/


import React from 'react';

import _ from 'gmp/locale';
Expand All @@ -17,7 +16,7 @@ import Link from 'web/components/link/link';
import InfoPanel from 'web/components/panel/infopanel';

import PropTypes from 'web/utils/proptypes';
import useLicense from 'web/utils/useLicense';
import useLicense from 'web/hooks/useLicense';

const LICENSE_EXPIRATION_THRESHOLD = 30;

Expand Down
File renamed without changes.

0 comments on commit 25af2e2

Please sign in to comment.