Skip to content

Commit

Permalink
Change: Move useUserName hook to hooks directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernricks committed Jun 20, 2024
1 parent e72ec05 commit b6d140d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/web/components/menu/usermenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Link from 'web/components/link/link';

import Theme from 'web/utils/theme';
import useGmp from 'web/utils/useGmp';
import useUserName from 'web/utils/useUserName';
import useUserName from 'web/hooks/useUserName';
import useUserSessionTimeout from 'web/utils/useUserSessionTimeout';
import useUserTimezone from 'web/utils/useUserTimezone';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {describe, test, expect} from '@gsa/testing';

import {setUsername} from 'web/store/usersettings/actions';

import {rendererWith, fireEvent} from '../testing';
import {rendererWith, fireEvent} from 'web/utils/testing';

import useUserName from '../useUserName';

Expand Down
File renamed without changes.

0 comments on commit b6d140d

Please # to comment.