Skip to content

Commit

Permalink
fix: remove build errors and downgrade packages that were causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dylsteck committed Oct 15, 2024
1 parent 00778dd commit c3a05fd
Show file tree
Hide file tree
Showing 7 changed files with 408 additions and 569 deletions.
1 change: 0 additions & 1 deletion app/components/buy-ticket-transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export default function BuyTicketTransaction({ userId, ticketType }: { userId: s

return txHash ? <p>You have already purchased a ticket</p> : address ? (
<Transaction
address={address}
chainId={base.id}
contracts={contracts as any}
onSuccess={(response) => handleTxnSuccess(response)}
Expand Down
57 changes: 0 additions & 57 deletions app/components/home-carousel.tsx

This file was deleted.

7 changes: 2 additions & 5 deletions app/components/onchain-providers.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';
import { ReactNode } from 'react';
import { base } from 'viem/chains';
import { base } from 'wagmi/chains';
import { OnchainKitProvider } from '@coinbase/onchainkit';
import { WagmiProvider } from 'wagmi';
import { wagmiConfig } from '../lib/wagmi';
Expand All @@ -17,10 +17,7 @@ function OnchainProviders({ children }: Props) {
return (
<WagmiProvider config={wagmiConfig}>
<QueryClientProvider client={queryClient}>
<OnchainKitProvider
apiKey={process.env.NEXT_PUBLIC_ONCHAINKIT_API_KEY}
chain={base}
>
<OnchainKitProvider apiKey={process.env.NEXT_PUBLIC_ONCHAINKIT_API_KEY} chain={base as any}>
<RainbowKitProvider modalSize="compact">
{children}
</RainbowKitProvider>
Expand Down
2 changes: 1 addition & 1 deletion app/hackathons/farhack-at-farcon-2024/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function PrizesTable() {
);
}

export const masonryGridImages = [
const masonryGridImages = [
{
"alt": "FarHack at FarCon poster",
"src": "https://i.imgur.com/hAeS72B.jpeg"
Expand Down
32 changes: 17 additions & 15 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@

module.exports = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'i.imgur.com',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'arweave.net',
pathname: '/**',
},
],
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'i.imgur.com',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'arweave.net',
pathname: '/**',
},
],
},
eslint: {
ignoreDuringBuilds: true,
},
};
Loading

0 comments on commit c3a05fd

Please sign in to comment.