Skip to content

Commit

Permalink
Fixed urls on items
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil committed Dec 4, 2021
1 parent 51f70df commit 05b6da9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/kanban/kanbanItem/kanbanItem.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { isEmpty } from 'ramda';

export const KanbanItemComponent = ({ item }) => {
return (
<a href={item.url}>
<a href={item.html_url}>
<div className="relative flex flex-col items-start p-4 mt-3 bg-white rounded-lg cursor-pointer bg-opacity-90 group hover:bg-opacity-100 border-2">
<div className="flex">
{item.labels.map((label) => (
Expand Down Expand Up @@ -44,7 +44,6 @@ export const KanbanItemComponent = ({ item }) => {
</svg>
<span className="ml-1 leading-none">{item.comments}</span>
</div>
{console.log(item.assignees)}
<div className="ml-auto flex">
{isEmpty(item.assignees) ? (
<Image width={24} height={24} alt="User's avatar" className="rounded-full" src={item.user.avatar_url} />
Expand Down
1 change: 0 additions & 1 deletion src/modules/element/element.hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ export const useElementProvider = ({ category, type, sources }) => {
})),
[category, type, sources]
);
console.log(elements);
return { elements };
};

1 comment on commit 05b6da9

@vercel
Copy link

@vercel vercel bot commented on 05b6da9 Dec 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.