From 46b78eaac30be26fe40520e97786563344af8403 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 30 Mar 2024 16:26:16 +0000
Subject: format: Add missing lint and format, and format the entire repo

---
 apps/mobile/app/dashboard/(tabs)/index.tsx | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

(limited to 'apps/mobile/app/dashboard/(tabs)/index.tsx')

diff --git a/apps/mobile/app/dashboard/(tabs)/index.tsx b/apps/mobile/app/dashboard/(tabs)/index.tsx
index 804eb0b5..5dccc845 100644
--- a/apps/mobile/app/dashboard/(tabs)/index.tsx
+++ b/apps/mobile/app/dashboard/(tabs)/index.tsx
@@ -3,21 +3,21 @@ import * as Haptics from "expo-haptics";
 import * as ImagePicker from "expo-image-picker";
 import { useRouter } from "expo-router";
 import UpdatingBookmarkList from "@/components/bookmarks/UpdatingBookmarkList";
+import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView";
 import PageTitle from "@/components/ui/PageTitle";
+import { useToast } from "@/components/ui/Toast";
 import useAppSettings from "@/lib/settings";
 import { useUploadAsset } from "@/lib/upload";
 import { MenuView } from "@react-native-menu/menu";
 import { SquarePen } from "lucide-react-native";
-import { useToast } from "@/components/ui/Toast";
-import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView";
 
 function HeaderRight() {
-  const {toast} = useToast();
+  const { toast } = useToast();
   const router = useRouter();
   const { settings } = useAppSettings();
   const { uploadAsset } = useUploadAsset(settings, {
     onError: (e) => {
-      toast({message: e, variant: "destructive"});
+      toast({ message: e, variant: "destructive" });
     },
   });
   return (
@@ -69,7 +69,10 @@ function HeaderRight() {
       shouldOpenOnLongPress={false}
     >
       <View className="my-auto px-4">
-        <SquarePen color="rgb(0, 122, 255)" onPress={() => Haptics.selectionAsync()} />
+        <SquarePen
+          color="rgb(0, 122, 255)"
+          onPress={() => Haptics.selectionAsync()}
+        />
       </View>
     </MenuView>
   );
-- 
cgit v1.3-1-g0d28

