Skip to content

Commit

Permalink
修复图标问题
Browse files Browse the repository at this point in the history
  • Loading branch information
fatwang2 committed Mar 30, 2024
1 parent 9835f4f commit a948261
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions web/src/app/components/sources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Wrapper } from "@/app/components/wrapper";
import { Source } from "@/app/interfaces/source";
import { BookText } from "lucide-react";
import { FC } from "react";
import Image from "next/image";

const SourceItem: FC<{ source: Source; index: number }> = ({
source,
Expand All @@ -27,13 +26,10 @@ const SourceItem: FC<{ source: Source; index: number }> = ({
</div>
</div>
<div className="flex-none flex items-center">
<Image
<img
className="h-3 w-3"
alt={domain}
src={`https://www.google.com/s2/favicons?domain=${domain}&sz=${16}`}
width={16}
height={16}
layout="responsive"
/>
</div>
</div>
Expand Down

0 comments on commit a948261

Please sign in to comment.