performance: replace tabler-icons-react with react-icons to reduce bundle size

This commit is contained in:
Elias Schneider
2022-10-14 11:59:40 +02:00
parent 247ce92744
commit d906d56b9f
11 changed files with 44 additions and 51 deletions

View File

@@ -16,7 +16,7 @@ import { NextLink } from "@mantine/next";
import moment from "moment";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";
import { Link, Trash } from "tabler-icons-react";
import { TbLink, TbTrash } from "react-icons/tb";;
import Meta from "../../components/Meta";
import useUser from "../../hooks/user.hook";
import shareService from "../../services/share.service";
@@ -89,7 +89,7 @@ const MyShares = () => {
);
}}
>
<Link />
<TbLink />
</ActionIcon>
<ActionIcon
color="red"
@@ -116,7 +116,7 @@ const MyShares = () => {
});
}}
>
<Trash />
<TbTrash />
</ActionIcon>
</Group>
</td>