mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Updating code to use new version of react-router.
This commit is contained in:
parent
303810476e
commit
8ea3ea8a67
28 changed files with 34 additions and 52 deletions
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
|||
import {Container} from "semantic-ui-react";
|
||||
import {getStatus, saveSettings} from "../../api";
|
||||
import {PageContainer, TabLinks, Toggle} from "../Common";
|
||||
import {Route, Routes} from "react-router-dom";
|
||||
import {Route, Routes} from "react-router";
|
||||
import {ThemeContext} from "../../contexts/contexts";
|
||||
import {Header, Loader, Segment} from "../Theme";
|
||||
import {DownloadsPage} from "./Downloads";
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import {Icon, Popup, Table} from "../Theme";
|
|||
import React from "react";
|
||||
import {TableBody, TableCell, TableHeader, TableHeaderCell, TableRow} from "semantic-ui-react";
|
||||
import {TableRowPlaceholder} from "../Placeholder";
|
||||
import {useNavigate} from "react-router-dom";
|
||||
import {useNavigate} from "react-router";
|
||||
|
||||
function WarningIcon({ok}) {
|
||||
// null is empty, true is valid, false is invalid.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import {
|
|||
restartDownload,
|
||||
retryOnceDownloads
|
||||
} from "../../api";
|
||||
import {Link} from "react-router-dom";
|
||||
import {Link} from "react-router";
|
||||
import {
|
||||
APIButton,
|
||||
DisableDownloadsToggle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue