chore: 代码样式,依赖更新

This commit is contained in:
Ivan Li 2021-09-05 20:42:58 +08:00
parent c51228eff9
commit 26a445000a
3 changed files with 52 additions and 25297 deletions

View File

@ -1,8 +1,8 @@
module.exports = { module.exports = {
client: { client: {
service: { service: {
name: 'fennec-be', name: "fennec-be",
url: 'http://api.fennec.localhost/graphql' url: "http://localhost:7122/graphql",
} },
} },
}; };

25337
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -56,9 +56,7 @@ const useStyles = makeStyles((theme) => ({
})); }));
export const PipelineTaskDetail: FC<Props> = ({ taskId }) => { export const PipelineTaskDetail: FC<Props> = ({ taskId }) => {
const [taskEvents, setTaskEvents] = useState( const [, setTaskEvents] = useState(() => new Array<PipelineTaskEvent>());
() => new Array<PipelineTaskEvent>()
);
const { data, loading, error, client } = useQuery<{ const { data, loading, error, client } = useQuery<{
pipelineTask: PipelineTask; pipelineTask: PipelineTask;
}>(PIPELINE_TASK, { }>(PIPELINE_TASK, {