adding more doc stuff
This commit is contained in:
@@ -41,3 +41,10 @@ sent down automatically -> has useEffect for socket data -> has
|
||||
details page as it was pass through props, but still can fetch from here and
|
||||
add it to the big tree and thus will be passed down appropriately and re-order
|
||||
it in the list of lines
|
||||
|
||||
### Update the fetch to include mofidicatios
|
||||
|
||||
- use react query to make the basic fetch of lineIds
|
||||
- have a function within the line list component which takes in new values so
|
||||
that the child can send data up whenever data within it changes with react
|
||||
query
|
||||
|
||||
@@ -59,6 +59,8 @@ export default function useLinesData() {
|
||||
// need to figure out how to use this hook in line details
|
||||
// and at the same time, update the useLinesData hook...need to send it up there or something
|
||||
function useDetailedLineData(lineId: string) {
|
||||
// set initial data as a prop for this query using the data from the above
|
||||
// main hook
|
||||
// const x = useQuery(api.getLineData(pagination, etc..))
|
||||
|
||||
// return the react query query itself
|
||||
|
||||
Reference in New Issue
Block a user