Remove open replay.

This commit is contained in:
Patrick Fic
2021-12-09 17:23:52 -08:00
parent 2b635ba3bf
commit a7c3d89531
8 changed files with 261 additions and 262 deletions

View File

@@ -38,7 +38,7 @@ export function ChatPopupComponent({
const { t } = useTranslation();
const [pollInterval, setpollInterval] = useState(0);
const { loading, data, refetch, called } = useQuery(CONVERSATION_LIST_QUERY, {
...(pollInterval > 0 ? { pollInterval } : {}),
// ...(pollInterval > 0 ? { pollInterval } : {}),
});
const fcmToken = sessionStorage.getItem("fcmtoken");

View File

@@ -9,7 +9,6 @@ import {
selectBodyshop,
selectCurrentUser,
} from "../../redux/user/user.selectors";
import { tracker } from "../../App/App.container";
const mapStateToProps = createStructuredSelector({
currentUser: selectCurrentUser,
@@ -37,7 +36,6 @@ class ErrorBoundary extends React.Component {
componentDidCatch(error, info) {
console.log("Exception Caught by Error Boundary.", error, info);
this.setState({ ...this.state, error, info });
tracker.event("error_boundary", error, true);
}
handleErrorSubmit = () => {

View File

@@ -22,7 +22,7 @@ const mapStateToProps = createStructuredSelector({
});
export function ProductionBoardKanbanContainer({ bodyshop, currentUser }) {
const { refetch, loading, data } = useQuery(QUERY_JOBS_IN_PRODUCTION, {
pollInterval: 3600000,
//pollInterval: 3600000,
});
const client = useApolloClient();
const [joblist, setJoblist] = useState([]);

View File

@@ -11,7 +11,7 @@ import _ from "lodash";
export default function ProductionListTableContainer() {
const { refetch, loading, data } = useQuery(QUERY_JOBS_IN_PRODUCTION, {
pollInterval: 3600000,
//pollInterval: 3600000,
});
const client = useApolloClient();
const [joblist, setJoblist] = useState([]);