Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 04928342

Přidáno uživatelem Schwobik před téměř 2 roky(ů)

mergování a úprava kompatibility. proklik na detail itemu
re #10489

Zobrazit rozdíly:

src/pages/SearchPage.tsx
18 18
import { useDispatch } from "react-redux"
19 19
import { AppDispatch } from "../stores/store"
20 20
import { log } from "../logging/logger"
21
import { DrawerScreenProps } from "@react-navigation/drawer"
22
import { RootDrawerParamList } from "../components/Navigation"
21 23

  
22
const SearchPage = () => {
24
const SearchPage = ({navigation}: DrawerScreenProps<RootDrawerParamList, 'Search'>) => {
23 25
    const [isFilterOpen, setIsFilterOpen] = useState(true)
24 26

  
25 27
    const dispatch = useDispatch<AppDispatch>()
......
62 64
            <ScrollView flex={1} w={"100%"} >
63 65
                <VStack space={ 1 }>
64 66
                    <SearchForm isFilterOpen={ isFilterOpen }/>
65
                    <ListView/>
67
                    <ListView navigation={navigation}/>
66 68
                </VStack>
67 69
            </ScrollView>
68 70
        </Center>

Také k dispozici: Unified diff