Skip to content

Commit

Permalink
fix(dapp images): move assets to public; fix urls
Browse files Browse the repository at this point in the history
  • Loading branch information
moconnell committed Jan 9, 2024
1 parent 0fbcd20 commit cd645ee
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/dapp/components/LockFunds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function LockFunds({ invoice, balance, tokenData }: any) {
top="50%"
transform="translate(-50%,-50%)"
>
<Image width="2rem" src="../assets/lock.svg" alt="lock" />
<Image width="2rem" src="/assets/lock.svg" alt="lock" />
</Flex>
</Flex>
</VStack>
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp/constants/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Address } from 'viem';

const LexDAOLogo = '../assets/lex-dao.png';
const LexDAOLogo = '/assets/lex-dao.png';

export type Resolver = {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const invoiceFactory = {
80001: NETWORK_CONFIG[80001].INVOICE_FACTORY,
};

export const SUPPORTED_NETWORKS = getKeys(NETWORK_CONFIG);
export const SUPPORTED_NETWORKS = getKeys(NETWORK_CONFIG).map(k => Number(k));

export const INVOICE_VERSION = 'smart-invoice-v0';

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit cd645ee

Please # to comment.