Skip to content

Commit

Permalink
fix eslint problem
Browse files Browse the repository at this point in the history
  • Loading branch information
LastStranger committed Feb 14, 2024
1 parent 1aaedaf commit bc732ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pages/Profile/hooks/useProfileInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ type ProfileData = {
languages: string[];
};

const useProfileInfo = (id: string) => {
const useProfileInfo = (id: string): [ProfileData, boolean] => {
const [data, setData] = useState<ProfileData | null>(null);
const [loading, setLoading] = useState(true);
const [loading, setLoading] = useState<boolean>(true);

useEffect(() => {
request
Expand Down
2 changes: 1 addition & 1 deletion src/pages/main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Index = () => {
>
<Tab.Screen
name="friendList"
labeled={false}
// labeled={false}
component={FriendList}
options={{
tabBarIcon: ({ color }) => <FontAwesome5 name="user-friends" size={28} color={color} />,
Expand Down

0 comments on commit bc732ee

Please sign in to comment.