Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Sep 14, 2023
1 parent 2fc50df commit 2111311
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ frontend/out
staking/target
staking/lib
wasm
staking/target
14 changes: 7 additions & 7 deletions frontend/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ import { Toaster } from 'react-hot-toast'
require('@solana/wallet-adapter-react-ui/styles.css')
require('../styles/globals.css')

const walletConnectConfig : WalletConnectWalletAdapterConfig = {
network : WalletAdapterNetwork.Devnet,
options : {
relayUrl : 'wss://relay.walletconnect.com',
projectId : process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID,
const walletConnectConfig: WalletConnectWalletAdapterConfig = {
network: WalletAdapterNetwork.Devnet,
options: {
relayUrl: 'wss://relay.walletconnect.com',
projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID,
metadata: {
name: 'Pyth Staking',
description: 'Stake your PYTH tokens to participate in governance',
url: 'https://pyth.network/',
icons: ['https://pyth.network/token.svg'],
},
},
}
}

const App: FC<AppProps> = ({ Component, pageProps }: AppProps) => {
Expand All @@ -60,7 +60,7 @@ const App: FC<AppProps> = ({ Component, pageProps }: AppProps) => {
new LedgerWalletAdapter(),
new SolletWalletAdapter(),
new SolletExtensionWalletAdapter(),
new WalletConnectWalletAdapter(walletConnectConfig)
new WalletConnectWalletAdapter(walletConnectConfig),
],
[]
)
Expand Down

0 comments on commit 2111311

Please sign in to comment.