g
This commit is contained in:
18
src/App.js
18
src/App.js
@@ -16,6 +16,7 @@ import CafePage from "./pages/CafePage";
|
||||
import SearchResult from "./pages/SearchResult";
|
||||
import Cart from "./pages/Cart";
|
||||
import Invoice from "./pages/Invoice";
|
||||
import Transactions from "./pages/Transactions";
|
||||
import Footer from "./components/Footer";
|
||||
|
||||
import GuestSideLogin from "./pages/GuestSideLogin";
|
||||
@@ -290,6 +291,23 @@ function App() {
|
||||
</>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/:shopId/:tableId?/transactions"
|
||||
element={
|
||||
<>
|
||||
<Transactions
|
||||
sendParam={handleSetParam}
|
||||
deviceType={deviceType}
|
||||
/>
|
||||
<Footer
|
||||
shopId={shopId}
|
||||
tableId={tableId}
|
||||
cartItemsLength={totalItemsCount}
|
||||
selectedPage={3}
|
||||
/>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/:shopId/guest-side-login"
|
||||
element={<GuestSideLogin shopId={shopId} socket={socket} />}
|
||||
|
||||
Reference in New Issue
Block a user