Skip to content

Commit

Permalink
fix useBasenameAndRelativeNavigate
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Jan 6, 2025
1 parent 6f643e9 commit 574e981
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ coverage
.DS_Store

build
build_ts/
1 change: 0 additions & 1 deletion src/react/account/AccountDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
Route,
Routes,
useLocation,
useBasenameRelativeNavigate,
useParams,
} from 'react-router-dom';
import styled, { useTheme } from 'styled-components';
Expand Down
3 changes: 2 additions & 1 deletion src/react/databrowser/objects/ObjectLockSetting.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ChangeEvent, useEffect } from 'react';
import { useBasenameRelativeNavigate, useParams } from 'react-router-dom';
import { useParams } from 'react-router-dom';
import { useDispatch, useSelector } from 'react-redux';
import { FormProvider, useForm, Controller } from 'react-hook-form';
import { DateTime } from 'luxon';
Expand Down Expand Up @@ -30,6 +30,7 @@ import {
} from './utils';
import { AppState } from '../../../types/state';
import { useCurrentAccount } from '../../DataServiceRoleProvider';
import { useBasenameRelativeNavigate } from '../../ShellHooksContext';

const Joi = JoiImport.extend(DateExtension);
const objectLockRetentionSettingsValidationRules = {
Expand Down

0 comments on commit 574e981

Please sign in to comment.