Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d3c12593

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

re #10678 ItemViewUpdate: show related notes

Zobrazit rozdíly:

src/pages/NotesViewPage.tsx
1 1
import React, { useEffect, useState } from "react"
2 2
import { log } from "../logging/logger"
3 3
import { DrawerScreenProps } from "@react-navigation/drawer"
4
import { RootDrawerParamList } from "../components/Navigation"
5 4
import { Box, Button, ChevronDownIcon, ChevronUpIcon, CloseIcon, Flex, HStack, Icon, IconButton, MinusIcon, Popover, Pressable, ScrollView, Switch, Text, TextArea, VStack } from "native-base"
6 5
import { SortOptions } from "../types/general"
7 6
import { Note } from "../types/note"
......
14 13
import LoadingBox from "../components/loading/LoadingBox"
15 14
import { createNote, deleteNote, getAllNotes, updateNote } from "../stores/actions/notesThunks"
16 15
import { login } from "../stores/actions/userThunks"
16
import { RootDrawerParamList } from "./Navigation"
17 17
const NotesViewPage = ({ route, navigation }: DrawerScreenProps<RootDrawerParamList, 'Notes'>) => {
18 18

  
19 19
  const { notes, notesLoading, requestPending, triggerRefresh } = useSelector((state: RootState) => state.noteViewState)

Také k dispozici: Unified diff