added to clack list for redux
fix wrap on TTbrowser
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
selectCurrentTimeTicketJobId,
|
||||
} from "../../redux/timetickets/timetickets.selectors";
|
||||
import moment from "moment";
|
||||
import { EmployeeClockedInList } from "../time-ticket-lists/employee-clockedin-list.component";
|
||||
import EmployeeClockedInList from "../time-ticket-lists/employee-clockedin-list.component";
|
||||
import { useNavigation } from "@react-navigation/native";
|
||||
|
||||
import { INSERT_NEW_TIME_TICKET } from "../../graphql/timetickets.queries";
|
||||
@@ -61,9 +61,8 @@ export function ScreenTimeTicketBrowser({
|
||||
const [currentSJobId, setCurrentSJobId] = useState(null);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [error, setError] = useState(null);
|
||||
const [insertTimeTicket] = useMutation(INSERT_NEW_TIME_TICKET, {
|
||||
refetchQueries: ["QUERY_ACTIVE_TIME_TICKETS"],
|
||||
});
|
||||
const [insertTimeTicket] = useMutation(INSERT_NEW_TIME_TICKET);
|
||||
const [jobCount, setJobCount] = useState(0);
|
||||
// const { error, data } = useQuery(QUERY_EMPLOYEE_BY_ID, {
|
||||
// variables: { id: currentEmployee.technician.id },
|
||||
// });
|
||||
|
||||
@@ -11,7 +11,7 @@ const persistConfig = {
|
||||
key: "root",
|
||||
storage: AsyncStorage,
|
||||
// whitelist: ["photos"],
|
||||
blacklist: ["user"],
|
||||
blacklist: ["user","employee","timeTickets"],
|
||||
};
|
||||
|
||||
const rootReducer = combineReducers({
|
||||
|
||||
Reference in New Issue
Block a user