Skip to content

Commit 64b04fa

Browse files
committed
cleanup
1 parent 4a01e5e commit 64b04fa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/src/features/project/components/projectMigration/ProjectEntityMigration.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { DateTime } from "luxon";
2121
import { useCallback, useEffect, useMemo, useState } from "react";
2222
import { XLg } from "react-bootstrap-icons";
2323
import { useForm } from "react-hook-form";
24-
import { generatePath, Link } from "react-router-dom-v5-compat";
24+
import { generatePath, Link } from "react-router";
2525
import {
2626
Button,
2727
Form,

client/src/features/project/components/projectMigration/ProjectMigrationForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
UseFormSetValue,
2727
UseFormWatch,
2828
} from "react-hook-form";
29-
import { useLocation } from "react-router-dom";
29+
import { useLocation } from "react-router";
3030
import { Input, Label } from "reactstrap";
3131
import AppContext from "../../../../utils/context/appContext";
3232
import { slugFromTitle } from "../../../../utils/helpers/HelperFunctions.js";

client/src/features/projectsV2/fields/ProjectVisibilityFormField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { FieldValues } from "react-hook-form";
2222
import { Controller } from "react-hook-form";
2323

2424
import { Globe, Lock } from "react-bootstrap-icons";
25-
import { useLocation } from "react-router-dom";
25+
import { useLocation } from "react-router";
2626
import { ButtonGroup, Input, Label } from "reactstrap";
2727
import { isRenkuLegacy } from "../../../utils/helpers/HelperFunctionsV2";
2828
import type { GenericProjectFormFieldProps } from "./formField.types";

client/src/features/projectsV2/fields/SlugFormField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import cx from "classnames";
2020
import { ArrowCounterclockwise } from "react-bootstrap-icons";
2121
import type { FieldValues } from "react-hook-form";
2222
import { Controller } from "react-hook-form";
23-
import { useLocation } from "react-router-dom";
23+
import { useLocation } from "react-router";
2424
import { Button, FormText, Input, InputGroup, Label } from "reactstrap";
2525
import { isRenkuLegacy } from "../../../utils/helpers/HelperFunctionsV2.ts";
2626

0 commit comments

Comments
 (0)