Prune
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user