main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
550 bytes
|
Rev | Line | |
---|
[0c6b92a] | 1 | //
|
---|
| 2 | // function useMapViewHook() {
|
---|
| 3 | // const { mapName } = useParams();
|
---|
| 4 | // const { username } = useContext(AuthContext);
|
---|
| 5 | //
|
---|
| 6 | // const [mapLoaded, setMapLoaded] = useState(false);
|
---|
| 7 | // const [app, setApp] = useState(null);
|
---|
| 8 | // const [isPanelOpen, setIsPanelOpen] = useState(true);
|
---|
| 9 | // const [floors, setFloors] = useState([]);
|
---|
| 10 | // const navigate = useNavigate();
|
---|
| 11 | //
|
---|
| 12 | // const [searchParams, setSearchParams] = useSearchParams();
|
---|
| 13 | //
|
---|
| 14 | // return {
|
---|
| 15 | // mapName,
|
---|
| 16 | // username,
|
---|
| 17 | // mapLoaded
|
---|
| 18 | // }
|
---|
| 19 | // }
|
---|
| 20 | //
|
---|
| 21 | // export default useMapViewHook; |
---|
Note:
See
TracBrowser
for help on using the repository browser.