Skip to content

Commit ed20e9f

Browse files
stephancilldavidfurlong
authored andcommitted
fix: remove nextjs dependency in packages
1 parent 9599f8f commit ed20e9f

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

examples/nextjs-shadcn/src/app/cast.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useRelativeDate } from "./relative-date";
2-
import Image from "next/image";
32
import React from "react";
43
import {
54
CommentIcon,
@@ -114,7 +113,8 @@ export function Cast(props: {
114113
<div className="relative min-w-[48px]">
115114
<div>
116115
<div className="pt-1">
117-
<Image
116+
{/* eslint-disable-next-line */}
117+
<img
118118
alt=""
119119
className="rounded-full w-[48px] h-[48px]"
120120
src={

packages/react-ui-shadcn/src/components/channel-picker.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
} from "components/ui/command";
1212
import { Popover, PopoverContent, PopoverTrigger } from "components/ui/popover";
1313
import { Channel } from "@mod-protocol/farcaster";
14-
import Image from "next/image";
1514
import { CaretDownIcon } from "@radix-ui/react-icons";
1615

1716
type Props = {
@@ -57,7 +56,7 @@ export function ChannelPicker(props: Props) {
5756
aria-expanded={open}
5857
type="button"
5958
>
60-
<Image
59+
<img
6160
src={props.value.image ?? ""}
6261
alt={props.value.name}
6362
width={24}
@@ -85,7 +84,7 @@ export function ChannelPicker(props: Props) {
8584
className="cursor-pointer"
8685
onSelect={() => handleSelect(channel)}
8786
>
88-
<Image
87+
<img
8988
src={channel.image ?? ""}
9089
alt={channel.name}
9190
width={24}

packages/react-ui-shadcn/src/components/creation-miniapps-search.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
} from "components/ui/command";
1212
import { Popover, PopoverContent, PopoverTrigger } from "components/ui/popover";
1313
import { ModManifest } from "@mod-protocol/core";
14-
import Image from "next/image";
1514

1615
type Props = {
1716
miniapps: ModManifest[];
@@ -58,7 +57,7 @@ export function CreationMiniAppsSearch(props: Props) {
5857
className="cursor-pointer"
5958
onSelect={handleSelect}
6059
>
61-
<Image
60+
<img
6261
height={24}
6362
width={24}
6463
alt={miniApp.name}

0 commit comments

Comments
 (0)