Skip to content

Commit

Permalink
fix: console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramveeraghanta committed May 11, 2024
1 parent 4aed6e7 commit 91a66a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions web/components/issues/sub-issues/issues-list.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FC } from "react";
import { FC, Fragment } from "react";
import { observer } from "mobx-react-lite";
import { TIssue } from "@plane/types";
// hooks
Expand Down Expand Up @@ -45,7 +45,7 @@ export const IssueList: FC<IIssueList> = observer((props) => {
{subIssueIds &&
subIssueIds.length > 0 &&
subIssueIds.map((issueId) => (
<>
<Fragment key={issueId}>
<IssueListItem
workspaceSlug={workspaceSlug}
projectId={projectId}
Expand All @@ -56,7 +56,7 @@ export const IssueList: FC<IIssueList> = observer((props) => {
handleIssueCrudState={handleIssueCrudState}
subIssueOperations={subIssueOperations}
/>
</>
</Fragment>
))}

<div
Expand Down
5 changes: 3 additions & 2 deletions web/components/ui/loader/layouts/list-layout-loader.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Fragment } from "react";
import { getRandomInt, getRandomLength } from "../utils";

const ListItemRow = () => (
Expand All @@ -8,13 +9,13 @@ const ListItemRow = () => (
</div>
<div className="flex items-center gap-2">
{[...Array(6)].map((_, index) => (
<>
<Fragment key={index}>
{getRandomInt(1, 2) % 2 === 0 ? (
<span key={index} className="h-5 w-5 bg-custom-background-80 rounded" />
) : (
<span className="h-5 w-16 bg-custom-background-80 rounded" />
)}
</>
</Fragment>
))}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion web/store/member/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { action, makeObservable, observable } from "mobx";
// types
import { RootStore } from "@/store/root.store";
import { IUserLite } from "@plane/types";
import { RootStore } from "@/store/root.store";
import { IProjectMemberStore, ProjectMemberStore } from "./project-member.store";
import { IWorkspaceMemberStore, WorkspaceMemberStore } from "./workspace-member.store";

Expand Down

0 comments on commit 91a66a7

Please sign in to comment.