PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.19
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.19
1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 1.3.51 1.3.50 All 182 releases
← All changes | backend/views/components/Main/App.jsx +6 -3 1.3.50 → 1.4.19 View file →
@@ -1,12 +1,14 @@
1 1 import { Provider } from 'react-redux';
2 2 import { HashRouter, Route, Routes } from 'react-router';
3 3 import { ToastContainer } from 'react-toastify';
4 4 import { store } from './app/store';
5 +import NotFound from './components/NotFound';
5 6 import ScrollToTop from './components/ScrollTop';
6 7 import Campaigns from './pages/Campaigns/Campaigns';
7 8 import Rules from './pages/Rules/Rules';
8 9 import Settings from './pages/Settings/Settings';
10 +
9 11 export default function CreateDiscount() {
10 12 return (
11 13 <>
12 14 <Provider store={store}>
@@ -15,15 +17,16 @@
15 17 <Routes>
16 18 <Route path="/" element={<Campaigns />} />
17 19 <Route path="/settings" element={<Settings />} />
18 20 <Route path="/disco" element={<Rules />} />
21 + <Route path="*" element={<NotFound />} />
19 22 </Routes>
20 23 </HashRouter>
21 24 <ToastContainer style={{ zIndex: 99999 }} autoClose={1500} />
22 25 <div
23 - className="hover:disco-bg-primary-dark disco-transition-colors disco-text-[11px] hidden disco-w-96 hover:disco-bg-primary/90 disco-text-gray-500
24 - disco-bg-red-100
25 - disco-border-gray-200"
26 + className="disco:transition-colors disco:text-[11px] hidden disco:w-96 disco:hover:bg-primary/90 disco:text-gray-500
27 + disco:bg-red-100
28 + disco:border-gray-200"
26 29 ></div>
27 30 </Provider>
28 31 </>
29 32 );