Skip to content

Commit

Permalink
Merge branch 'main' of github.com:digitalfabrik/integreat-app into 12…
Browse files Browse the repository at this point in the history
…33-implement-lists-as-actual-lists
  • Loading branch information
lunars97 committed Oct 30, 2023
2 parents d0cf257 + 538d315 commit 75a9e2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ If you are using a different IDE like Visual Studio Code the steps might [differ
- **Open either the [web](web) or [native](native) directory separately in IntelliJ (File > Open).**
- Follow the steps mentioned in the [web README](web/README.md) or the [native README](native/README.md).
- [optional]: Enable `Languages & Frameworks > JavaScript > Prettier > On Save` to enable prettier autoformatting.
- [optional]: Install our pre-commit hook for prettier autoformatting and automated updates of the CircleCI config:

> cd .git/hooks
> ln -s ../../.github/hooks/pre-commit pre-commit

_We are recommending to use either a Linux distribution or MacOS for development.
If you want to develop on Windows anyway, follow the steps [here](./docs/windows-setup.md)
Expand Down
5 changes: 1 addition & 4 deletions native/src/components/SearchListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { contentDirection } from '../constants/contentDirection'
import { PageResourceCacheStateType } from '../utils/DataContainer'
import { getCachedThumbnail } from './Categories'
import { CategoryThumbnail } from './CategoryListItem'
import List from './List'
import Pressable from './base/Pressable'

const FlexStyledLink = styled(Pressable)`
Expand Down Expand Up @@ -87,7 +86,7 @@ const SearchListItem = ({
/>
)

const SearchList = (
return (
<FlexStyledLink onPress={() => onItemPress(category)}>
<DirectionContainer language={language}>
<SearchEntryContainer>
Expand All @@ -102,8 +101,6 @@ const SearchListItem = ({
</DirectionContainer>
</FlexStyledLink>
)

return <List items={category} renderItem={({ item: category }) => category} Header={SearchList} />
}

export default memo(SearchListItem)

0 comments on commit 75a9e2d

Please sign in to comment.