Skip to content

Commit

Permalink
fix seller dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
sevelinCa committed Jul 18, 2024
2 parents 547556e + a18af82 commit 65e7fae
Show file tree
Hide file tree
Showing 136 changed files with 8,861 additions and 1,558 deletions.
3 changes: 3 additions & 0 deletions dist/6bd5805730733860772c.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/6c2dc433a0dd25891135.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions dist/bundle.js

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions dist/bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @remix-run/router v1.16.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/**
* React Router v6.23.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
1 change: 1 addition & 0 deletions dist/bundle.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/f85706fec0f76e9ad413.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href=""/><link rel="manifest" href=""/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css2?family=Outfit:[email protected]&display=swap" rel="stylesheet"/><link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"/><title>React App</title><script defer="defer" src="/bundle.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
108 changes: 108 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"license": "ISC",
"dependencies": {
"@auth-kit/react-router": "^3.1.3",
"@fortawesome/fontawesome-free": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@reduxjs/toolkit": "^2.2.5",
"@types/js-cookie": "^3.0.6",
"@types/react": "^18.3.3",
Expand All @@ -31,14 +34,17 @@
"jwt-decode": "^4.0.0",
"lucide-react": "^0.396.0",
"postcss": "^8.4.38",
"pusher-js": "^8.4.0-rc2",
"react": "^18.3.1",
"react-auth-kit": "^3.1.3",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.0",
"react-hot-toast": "^2.4.1",
"react-i18next": "^14.1.2",
"react-icons": "^5.2.1",
"react-lazy-load-image-component": "^1.6.0",
"react-loader-spinner": "^6.1.6",
"react-loading-skeleton": "^3.4.0",
"react-otp-input": "^3.1.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.23.1",
Expand Down
29 changes: 18 additions & 11 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
import React from 'react';
import { LazyLoadImage } from "react-lazy-load-image-component"
import React, { useEffect } from 'react';
import { ToastContainer } from 'react-toastify';
import { LazyLoadImage } from 'react-lazy-load-image-component';
import AppRoutes from './Routes';
import {ToastContainer} from "react-toastify"
import 'react-toastify/dist/ReactToastify.css';
import i18n from '../src/Lib/i18n';

const App: React.FC = () => (
<div className="">
<AppRoutes />
<ToastContainer/>
</div>
);
const App: React.FC = () => {
useEffect(() => {
const currentLanguage = localStorage.getItem('lang') || 'ENG';
i18n.changeLanguage(currentLanguage);
}, []);

export default App;
return (
<div className="">
<AppRoutes />
<ToastContainer/>
</div>
);
};

export default App;
Loading

0 comments on commit 65e7fae

Please sign in to comment.