Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
add styling to cast component
Browse files Browse the repository at this point in the history
  • Loading branch information
kevoconnell committed Aug 27, 2024
1 parent 1f89d25 commit 26ef15d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CastSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,13 @@ const CastSearch = ({ query }: { query: string }) => {
</Button>
</form>

<div className="space-y-4 p-4 w-full max-w-4xl">
<div className="space-y-4 p-4 w-full max-w-4xl items-center justify-center flex flex-col">
{loading && casts.length === 0 ? (
<p className="text-center text-white font-jetbrains">Loading....</p>
) : casts && casts.length ? (
casts.map((cast, index) => (
<NeynarCastCard
className="text-center text-white font-jetbrains"
key={`${cast.hash}-${index}`}
type="hash"
identifier={cast?.hash}
Expand Down

0 comments on commit 26ef15d

Please sign in to comment.