Rename profiles component (#111)

This commit is contained in:
Jonathan Zernik 2020-07-21 17:06:05 -07:00 committed by GitHub
parent ebea606faf
commit 8cf24ed8ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View file

@ -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

View file

@ -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",

View file

@ -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

View file

@ -0,0 +1,6 @@
{
"name": "Profiles",
"version": "0.0.0",
"main": "Profiles.js",
"private": true
}

View file

@ -1,6 +0,0 @@
{
"name": "Tables",
"version": "0.0.0",
"main": "Tables.js",
"private": true
}