chore: build mobile
This commit is contained in:
@@ -432,10 +432,6 @@ export const getDeliverymanLocationForCommand = async (commandId: number) => {
|
||||
}
|
||||
};
|
||||
|
||||
// ============================================
|
||||
// PRODUITS
|
||||
// ============================================
|
||||
|
||||
export const getAllProductsAdmin = async (): Promise<{
|
||||
success: boolean;
|
||||
data: Product[];
|
||||
|
||||
@@ -21,7 +21,6 @@ export const setUsername = (username: string) =>
|
||||
AsyncStorage.setItem(USERNAME_KEY, username);
|
||||
export const removeUsername = () => AsyncStorage.removeItem(USERNAME_KEY);
|
||||
|
||||
// Admin username
|
||||
export const getAdminUsername = () => AsyncStorage.getItem(ADMIN_USERNAME_KEY);
|
||||
export const setAdminUsername = (username: string) =>
|
||||
AsyncStorage.setItem(ADMIN_USERNAME_KEY, username);
|
||||
|
||||
Reference in New Issue
Block a user