Package cleanup & transition to latest apollo.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Button, Card, Form, notification } from "antd";
|
||||
import axios from "axios";
|
||||
import React, { useState } from "react";
|
||||
import { useMutation } from "react-apollo";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
@@ -66,8 +66,8 @@ export function TechClockInContainer({ technician, bodyshop }) {
|
||||
return (
|
||||
<div>
|
||||
<Card title={t("timetickets.labels.clockintojob")}>
|
||||
<Form form={form} layout='vertical' onFinish={handleFinish}>
|
||||
<Button type='primary' htmlType='submit' loading={loading}>
|
||||
<Form form={form} layout="vertical" onFinish={handleFinish}>
|
||||
<Button type="primary" htmlType="submit" loading={loading}>
|
||||
{t("timetickets.actions.clockin")}
|
||||
</Button>
|
||||
<TechClockInComponent form={form} />
|
||||
|
||||
Reference in New Issue
Block a user