Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
clmntsnr committed Jan 7, 2025
1 parent cc131b8 commit 601b2df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/components/composite/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,13 @@ export default function Hero({
)}
{!!tags && <Group className="mb-lg">{tags}</Group>}
</Group>
)}
</Group>
</Group>
</Container>
</Group>
{!!sideDatas && (
<Group className="w-full lg:w-auto lg:flex-col mr-xl*2" size="lg">
{sideDatas.map(data => (
<Group key={data.key} className="flex-col" size="xs">
<Text size={4} className="!text-main-12">
{data.data}
</Text>

<Text size="md" bold>
{data.label}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/_merkl.opportunities.$chain.$type.$id.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ErrorHeading } from "src/components/layout/ErrorHeading";
import useOpportunity from "src/hooks/resources/useOpportunity";
import { v4 as uuidv4 } from "uuid";

export async function loader({ params: { id, type, chain: chainId }, request }: LoaderFunctionArgs) {
export async function loader({ params: { id, type, chain: chainId } }: LoaderFunctionArgs) {
if (!chainId || !id || !type) throw "";

const chain = await ChainService.get({ name: chainId });
Expand Down

0 comments on commit 601b2df

Please sign in to comment.