Skip to content

Commit

Permalink
[#941] missed profile picture in data approval section removed that also
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-p-s committed Jan 16, 2024
1 parent f879ef2 commit 47006be
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/src/pages/submissions/UploadDetail.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect, useMemo } from "react";
import { Table, Tabs, Button, Space, Tag, List, Avatar, Spin } from "antd";
import { Table, Tabs, Button, Space, Tag, List, Spin } from "antd";
import {
PlusSquareOutlined,
CloseSquareOutlined,
Expand Down Expand Up @@ -493,13 +493,10 @@ const UploadDetail = ({ record, setReload }) => {
<List
itemLayout="horizontal"
dataSource={comments}
renderItem={(item, index) => (
renderItem={(item) => (
<List.Item>
{/* TODO: Change Avatar */}
<List.Item.Meta
avatar={
<Avatar src={`https://i.pravatar.cc/150?img=${index}`} />
}
title={
<div>
<Tag>{item.created}</Tag>
Expand Down

0 comments on commit 47006be

Please sign in to comment.