Updating code to use new version of react-router.

This commit is contained in:
Roland 2025-12-07 11:54:20 -07:00
parent 303810476e
commit 8ea3ea8a67
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
28 changed files with 34 additions and 52 deletions

View file

@ -35,7 +35,7 @@ import {
updateChannel,
updateDomain,
} from "../api";
import {createSearchParams, useLocation, useSearchParams} from "react-router-dom";
import {createSearchParams, useLocation, useSearchParams} from "react-router";
import {enumerate, filterToMimetypes, humanFileSize, secondsToFullDuration} from "../components/Common";
import {QueryContext, SettingsContext, StatusContext} from "../contexts/contexts";
import {toast} from "react-semantic-toasts-2";