Skip to content

Commit

Permalink
🚧[Revert to fix build]
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPoblete committed Oct 1, 2024
1 parent 9920e38 commit 3b209b7
Show file tree
Hide file tree
Showing 5 changed files with 16,255 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-dapp-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Run dapp tests

on:
#pull_request:
push:
workflow_dispatch:
permissions:
Expand Down
2 changes: 0 additions & 2 deletions apps/dapp/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
"use client";
import { Container } from '@chakra-ui/react'
import { useSorobanReact } from '@soroban-react/core'
import ManageIndexes from '@/components/ManageIndexes/ManageIndexes';

export default function Home() {
const { address } = useSorobanReact()
return (
<Container mt={16} mx={0} px={0} minW={'100vw'}>
<Container centerContent textAlign={'center'} minW={'100vw'}>
Expand Down
7 changes: 3 additions & 4 deletions apps/dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@
"@reduxjs/toolkit": "^2.2.6",
"@repo/ui": "*",
"@soroban-react/chains": "^9.1.13",
"@soroban-react/contracts": "^9.1.13",
"@soroban-react/core": "^9.1.13",
"@soroban-react/contracts": "^9.3.0",
"@soroban-react/core": "^9.3.0",
"@soroban-react/freighter": "^9.1.13",
"@soroban-react/lobstr": "^9.1.13",
"@soroban-react/types": "^9.1.13",
"@soroban-react/utils": "^9.1.13",
"@soroban-react/wallet-data": "9.1.13",
"@soroban-react/xbull": "^9.1.3",
"@soroban-react/wallet-data": "9.3.0",
"@stellar/stellar-sdk": "12.2.0",
"axios": "^1.7.7",
"framer-motion": "^11.3.0",
Expand Down
5 changes: 2 additions & 3 deletions apps/dapp/src/providers/soroban-react-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@ import { SorobanReactProvider } from '@soroban-react/core';
import { futurenet, sandbox, standalone, testnet } from '@soroban-react/chains';
import { freighter } from '@soroban-react/freighter';
import type { ChainMetadata, Connector } from "@soroban-react/types";
import { xbull } from '@soroban-react/xbull';
import { lobstr } from '@soroban-react/lobstr'

const chains: ChainMetadata[] = [sandbox, standalone, futurenet, testnet];
export const connectors: Connector[] = [freighter(), xbull(), lobstr()]
export const connectors: Connector[] = [freighter(), lobstr()]


export default function MySorobanReactProvider({ children }: { children: React.ReactNode }) {

return (
<SorobanReactProvider
chains={chains}
appName={"Example Stellar App"}
appName={"Defindex"}
activeChain={testnet}
connectors={connectors}>
{children}
Expand Down
Loading

0 comments on commit 3b209b7

Please sign in to comment.