Skip to content

Commit

Permalink
feat: remove unnecessary logs, fix yarn lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Jan 6, 2025
1 parent 39711f2 commit 717164e
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 104 deletions.
8 changes: 0 additions & 8 deletions src/app/components/swap/swap.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { useEffect } from 'react';

import { CheckCircleIcon, ChevronDownIcon, ChevronUpIcon } from '@chakra-ui/icons';
import { Button, HStack, Input, Spinner, Text, VStack } from '@chakra-ui/react';
import { useBitcoinPrice } from '@hooks/use-bitcoin-price';
Expand Down Expand Up @@ -39,12 +37,6 @@ export function Swap(): React.JSX.Element {

const { bitcoinPrice } = useBitcoinPrice();

useEffect(() => {
console.log('isProcessing', isProcessing);
console.log('isCompleted', isCompleted);
console.log('quoteError', quoteError);
}, [isProcessing, isCompleted, quoteError]);

return (
<VStack
alignItems={'flex-start'}
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ export default defineConfig(async ({ mode }) => {
plugins: [react(), wasm(), ViteToml()],
build: {
target: 'esnext',
rollupOptions: {
external: ['@safe-window/safe-apps-sdk']
}
},
define: {
global: 'window',
Expand Down
Loading

0 comments on commit 717164e

Please sign in to comment.