mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-23 22:06:22 +02:00
♻️ Use named exports for icons (#647)
This commit is contained in:
parent
fbcd5a5d2a
commit
12be9851e1
118 changed files with 216 additions and 375 deletions
|
@ -1,6 +1,5 @@
|
|||
import { trpc } from "@rallly/backend";
|
||||
import DotsHorizontal from "@rallly/icons/dots-horizontal.svg";
|
||||
import Trash from "@rallly/icons/trash.svg";
|
||||
import { DotsHorizontalIcon, TrashIcon } from "@rallly/icons";
|
||||
import clsx from "clsx";
|
||||
import { useTranslation } from "next-i18next";
|
||||
import * as React from "react";
|
||||
|
@ -110,10 +109,10 @@ const Discussion: React.FunctionComponent = () => {
|
|||
{canDelete && (
|
||||
<Dropdown
|
||||
placement="bottom-start"
|
||||
trigger={<CompactButton icon={DotsHorizontal} />}
|
||||
trigger={<CompactButton icon={DotsHorizontalIcon} />}
|
||||
>
|
||||
<DropdownItem
|
||||
icon={Trash}
|
||||
icon={TrashIcon}
|
||||
label={t("deleteComment")}
|
||||
onClick={() => {
|
||||
deleteComment.mutate({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue