Skip to content

Commit

Permalink
changed db icon to svg
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjeevLakhwani committed Aug 5, 2024
1 parent 9f1cb28 commit 9fae22b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/components/ChooseProjectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useState } from 'react';
import { Tabs, List, Avatar, Modal, Button, Space, Typography } from 'antd';
import { useAppSelector } from '@/hooks';
import { Link, useLocation } from 'react-router-dom';
import { FaDatabase } from 'react-icons/fa';

const ChooseProjectModal = ({ isModalOpen, setIsModalOpen }: ChooseProjectModalProps) => {
const location = useLocation();
Expand Down Expand Up @@ -44,7 +45,7 @@ const ChooseProjectModal = ({ isModalOpen, setIsModalOpen }: ChooseProjectModalP
<Link to={`${baseURL}/p/${identifier}/d/${item.identifier}`}>
<List.Item className="select-dataset-hover" key={item.identifier}>
<List.Item.Meta
avatar={<Avatar src="/public/assets/database.png" />}
avatar={<Avatar style={{ backgroundColor: '#33ccff' }} icon={<FaDatabase />} />}
title={<Link to={`${baseURL}/p/${identifier}/d/${item.identifier}`}>{item.title}</Link>}
description={item.description}
/>
Expand Down
Binary file removed src/public/assets/database.png
Binary file not shown.

0 comments on commit 9fae22b

Please sign in to comment.