Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Oct 29, 2023
1 parent 40cd50f commit 6b4c4c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { Table } from "antd";
import { IssueType } from "pages/Automation/GithubIssue/types";
import { IssueType } from "pages/Automation/GithubIssue/index";

interface CsvTableProps {
data: IssueType[];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { SavedIssueType } from "pages/Automation/GithubIssue/types";
import { SavedIssueType } from "pages/Automation/GithubIssue/index";
import { Button } from "antd";
import { saveAs } from "file-saver";
import { generateCsvData } from "pages/Automation/GithubIssue/utils/helper";
Expand Down
6 changes: 3 additions & 3 deletions ui/src/pages/Automation/GithubIssue/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const steps = [
},
];

interface IssueType {
[key: string]: unknown;
export interface IssueType {
[key: string]: any;
title: string;
body?: string;
assignee?: string | null;
Expand All @@ -33,7 +33,7 @@ interface IssueType {
labels?: string[];
}

interface SavedIssueType {
export interface SavedIssueType {
url: string;
title: string;
}
Expand Down
3 changes: 1 addition & 2 deletions ui/src/pages/Automation/GithubIssue/utils/helper.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Dispatch, SetStateAction } from "react";
import { IssueType, SavedIssueType } from "pages/Automation/GithubIssue/types";

import { IssueType, SavedIssueType } from "pages/Automation/GithubIssue/index";
const createGitHubIssue = async (
owner: string,
repo: string,
Expand Down

0 comments on commit 6b4c4c0

Please sign in to comment.