|
Last change
on this file since badbc79 was badbc79, checked in by Luka Cheshlarov <luka.cheshlarov@…>, 20 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
280 bytes
|
| Line | |
|---|
| 1 | import {GetAllRestaurants} from "../services/restoran-service";
|
|---|
| 2 | import {GetAllUsers} from "../services/user-service";
|
|---|
| 3 |
|
|---|
| 4 | export const rootLoader = async () => {
|
|---|
| 5 | const restorants = await GetAllRestaurants();
|
|---|
| 6 | const users = await GetAllUsers()
|
|---|
| 7 | return {restorants, users};
|
|---|
| 8 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.