Skip to content

Commit

Permalink
chore: add bun
Browse files Browse the repository at this point in the history
  • Loading branch information
RedDotz20 committed Apr 16, 2024
1 parent 6e4811b commit 1de2616
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 38 deletions.
Binary file added bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"react": "^18.2.0",
"react-color": "^2.19.3",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.13",
"react-icons": "^5.0.1",
"react-qrcode-logo": "^2.9.0",
"zustand": "^4.5.2"
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import html2canvas from 'html2canvas';
import { useRef } from 'react';
import { QRCode } from 'react-qrcode-logo';
import { Box, Button, Flex, Heading, Input, InputGroup, InputLeftElement } from '@chakra-ui/react';
import { IoSaveOutline } from 'react-icons/io5';
import { FaQrcode } from 'react-icons/fa6';
import { Box, Button, Flex, Heading, Input, InputGroup, InputLeftElement } from '@chakra-ui/react';
import { useImageUploadStore } from './store/useImageUpload';
import { useQrOptionsStore } from './store/useQrOptionStore';
import { useColorPicker } from './store/useQrColorPicker';
Expand Down
29 changes: 0 additions & 29 deletions src/ErrorBoundery.tsx

This file was deleted.

16 changes: 8 additions & 8 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { ChakraProvider } from '@chakra-ui/react';
import { ErrorBoundery } from './ErrorBoundery';
import { ErrorBoundary } from 'react-error-boundary';
import App from './App';
import './index.css';

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<ErrorBoundery fallback={<h1>An Error Has Occured</h1>}>
<ChakraProvider>
<App />
</ChakraProvider>
</ErrorBoundery>
</React.StrictMode>
<React.StrictMode>
<ErrorBoundary fallback={<h1>An Error Has Occured</h1>}>
<ChakraProvider>
<App />
</ChakraProvider>
</ErrorBoundary>
</React.StrictMode>,
);

0 comments on commit 1de2616

Please sign in to comment.