Added updating of display name to profile. Added employees table.
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import AlertComponent from "../alert/alert.component";
|
||||
import ProfileMyComponent from "../profile-my/profile-my.component";
|
||||
|
||||
export default function ProfileContent({ sidebarSelection }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
switch (sidebarSelection.key) {
|
||||
case "profile":
|
||||
return <div>Profile stuff</div>;
|
||||
case "shop":
|
||||
return <ProfileMyComponent />;
|
||||
case "shops":
|
||||
return <div>Shop stuff</div>;
|
||||
default:
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user