fix: rapikan import dan sesuaikan ukuran icon di notification

- Gabungkan import useState yang duplikat
- Kecilkan ukuran icon check-square dari 22 ke 20
This commit is contained in:
2026-05-18 11:18:59 +08:00
parent 9ca128a5ed
commit ecb3d3953b

View File

@@ -9,12 +9,11 @@ import { pushToPage } from "@/lib/pushToPage";
import { useAuthSession } from "@/providers/AuthProvider";
import { useTheme } from "@/providers/ThemeProvider";
import { Feather } from "@expo/vector-icons";
import { router, Stack } from "expo-router";
import { useInfiniteQuery, useQueryClient } from "@tanstack/react-query";
import { useEffect, useMemo } from "react";
import { router, Stack } from "expo-router";
import { useEffect, useMemo, useState } from "react";
import { FlatList, Pressable, RefreshControl, SafeAreaView, View } from "react-native";
import { useDispatch, useSelector } from "react-redux";
import { useState } from "react";
type Props = {
id: string
@@ -153,7 +152,7 @@ export default function Notification() {
disabled={markingAll}
style={{ opacity: markingAll ? 0.5 : 1, padding: 4 }}
>
<Feather name="check-square" size={22} color="white" />
<Feather name="check-square" size={20} color="white" />
</Pressable>
) : undefined
}