This commit is contained in:
Manav Rathi
2024-06-05 14:16:27 +05:30
parent 62c413959e
commit 50b032654c

View File

@@ -1,18 +1,5 @@
import type { AppName } from "@/next/types/app";
export enum APPS {
PHOTOS = "PHOTOS",
AUTH = "AUTH",
ACCOUNTS = "ACCOUNTS",
}
export const appNameToAppNameOld = (appName: AppName): APPS => {
switch (appName) {
case "accounts":
return APPS.ACCOUNTS;
case "photos":
return APPS.PHOTOS;
case "auth":
return APPS.AUTH;
}
};