mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-17 13:07:32 +02:00
Rename profiles component (#111)
This commit is contained in:
parent
ebea606faf
commit
8cf24ed8ff
5 changed files with 12 additions and 12 deletions
|
|
@ -19,7 +19,7 @@ import Dashboard from "../../pages/dashboard";
|
|||
import SqueakAddress from "../../pages/squeakaddress";
|
||||
import Notifications from "../../pages/notifications";
|
||||
import Maps from "../../pages/maps";
|
||||
import Tables from "../../pages/tables";
|
||||
import Profiles from "../../pages/profiles";
|
||||
import Icons from "../../pages/icons";
|
||||
import Charts from "../../pages/charts";
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ function Layout(props) {
|
|||
<Switch>
|
||||
<Route path="/app/dashboard" component={Dashboard} />
|
||||
<Route path="/app/squeakaddress/:id" component={SqueakAddress} />
|
||||
<Route path="/app/tables" component={Tables} />
|
||||
<Route path="/app/profiles" component={Profiles} />
|
||||
<Route path="/app/notifications" component={Notifications} />
|
||||
<Route
|
||||
exact
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
Home as HomeIcon,
|
||||
NotificationsNone as NotificationsIcon,
|
||||
FilterNone as UIElementsIcon,
|
||||
BorderAll as TableIcon,
|
||||
People as ProfilesIcon,
|
||||
QuestionAnswer as SupportIcon,
|
||||
LibraryBooks as LibraryIcon,
|
||||
HelpOutline as FAQIcon,
|
||||
|
|
@ -30,7 +30,7 @@ import {
|
|||
|
||||
const structure = [
|
||||
{ id: 0, label: "Dashboard", link: "/app/dashboard", icon: <HomeIcon /> },
|
||||
{ id: 1, label: "Tables", link: "/app/tables", icon: <TableIcon /> },
|
||||
{ id: 1, label: "Profiles", link: "/app/profiles", icon: <ProfilesIcon /> },
|
||||
{
|
||||
id: 2,
|
||||
label: "Notifications",
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ const datatableData = [
|
|||
["Gaston Festus", "Example Inc.", "Tampa", "FL"],
|
||||
];
|
||||
|
||||
export default function Tables() {
|
||||
export default function Profiles() {
|
||||
const [msg, setMsg] = useState("waiting for message...");
|
||||
const [squeaks, setSqueaks] = useState([]);
|
||||
const [signingProfiles, setSigningProfiles] = useState([]);
|
||||
|
|
@ -110,7 +110,7 @@ export default function Tables() {
|
|||
|
||||
return (
|
||||
<>
|
||||
<PageTitle title="Tables" />
|
||||
<PageTitle title="Profiles" />
|
||||
<Grid container spacing={4}>
|
||||
<Grid item xs={12}>
|
||||
<MUIDataTable
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "Profiles",
|
||||
"version": "0.0.0",
|
||||
"main": "Profiles.js",
|
||||
"private": true
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"name": "Tables",
|
||||
"version": "0.0.0",
|
||||
"main": "Tables.js",
|
||||
"private": true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue