Skip to content

Commit

Permalink
hopefully final linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leoRysing committed Apr 17, 2024
1 parent f823115 commit 9c7382a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/components/Feed/DiscoverPeople.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const DiscoverPeople: React.FC = () => {
</View>

<ScrollView style={styles.people} horizontal={true}>
<User name="Michael" postIndex={1}/>
<User/>
</ScrollView>
</View>
)
Expand Down
10 changes: 5 additions & 5 deletions frontend/components/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import React, { useEffect, useState } from 'react';
import { User } from '../types/types';
import { getAllUsers } from '../services/users';

interface PostProps {
name: string;
postIndex: number;
}
// interface PostProps {
// name: string;
// postIndex: number;
// }

const Post: React.FC<PostProps> = ({}) => {
const Post: React.FC = ({}) => {

Check failure on line 11 in frontend/components/User.tsx

View workflow job for this annotation

GitHub Actions / Lint (20.x)

Unexpected empty object pattern
const [users, setUsers] = useState<User[]>([]);

useEffect(() => {
Expand Down

0 comments on commit 9c7382a

Please sign in to comment.