Update jobline display and related jobs.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { GET_JOB_BY_PK } from "@/graphql/jobs.queries";
|
||||
import { GET_JOB_NOTES } from "@/graphql/jobs.queries";
|
||||
import { useQuery } from "@apollo/client";
|
||||
import { AntDesign } from "@expo/vector-icons";
|
||||
import { useGlobalSearchParams } from "expo-router";
|
||||
@@ -22,7 +22,7 @@ export default function JobNotes() {
|
||||
const showNoteModal = () => setNoteModalVisible(true);
|
||||
const hideNoteModal = () => setNoteModalVisible(false);
|
||||
|
||||
const { loading, error, data, refetch } = useQuery(GET_JOB_BY_PK, {
|
||||
const { loading, error, data, refetch } = useQuery(GET_JOB_NOTES, {
|
||||
variables: {
|
||||
id: jobId,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user