Revert "Merge pull request #62 from project-error/feature/show-app-name-on-hover"

This reverts commit 5f7875182c.
This commit is contained in:
RockySouthpaw authored and Taso committed 2021-02-03 22:41:45 -05:00
1 parent 5f7875182c
commit d6a8c45d52
3 files changed
+23 -40

No files matched your search

+1 -11
View File
@@ -39,16 +39,6 @@ import { SelloutApp } from '../../../apps/sellout/components/SelloutApp';
import { NotesApp } from '../../../apps/notes/NotesApp';
import CameraApp from '../../../apps/camera/components/CameraApp';
export interface AppConfiguration {
id: string;
nameLocale: string;
icon: JSX.Element;
backgroundColor: string;
color: string;
path: string;
Route: () => JSX.Element;
}
const appsState = atom({
key: 'apps',
default: {
@@ -158,7 +148,7 @@ const appsState = atom({
export const useApps = () => {
const [apps, setApps] = useConfig(appsState);
const allApps: AppConfiguration[] = [...apps.preinstalled];
const allApps = [...apps.preinstalled];
const getApp = (id) => allApps.find((a) => a.id === id) || null;