mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
updated utopia-ui
This commit is contained in:
parent
a10eccd4ee
commit
3fbaaa36f2
8
package-lock.json
generated
8
package-lock.json
generated
@ -15,7 +15,7 @@
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.11.2",
|
||||
"utopia-ui": "^3.0.0-alpha.75"
|
||||
"utopia-ui": "^3.0.0-alpha.76"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.0.28",
|
||||
@ -7945,9 +7945,9 @@
|
||||
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
||||
},
|
||||
"node_modules/utopia-ui": {
|
||||
"version": "3.0.0-alpha.75",
|
||||
"resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.0-alpha.75.tgz",
|
||||
"integrity": "sha512-pvP9lvFOXmlGV5PGqMaU3OsMj7uKHj4mNiYp+wUwvVnQTsKdmHwws+cVmnJIvo0QVbXGp/wvQB5F/20+1gjsAA==",
|
||||
"version": "3.0.0-alpha.76",
|
||||
"resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.0-alpha.76.tgz",
|
||||
"integrity": "sha512-uKr4vjUMgagMjwA4PB7sC748huxikri0c70d1I/Wu47kgIrGSDMYtSddrDeEw5K6cwrjs26aul4AAqcK8MmKSQ==",
|
||||
"dependencies": {
|
||||
"@heroicons/react": "^2.0.17",
|
||||
"@tanstack/react-query": "^5.17.8",
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.11.2",
|
||||
"utopia-ui": "^3.0.0-alpha.75"
|
||||
"utopia-ui": "^3.0.0-alpha.76"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.0.28",
|
||||
|
||||
@ -11,7 +11,6 @@ function MapContainer() {
|
||||
|
||||
const [placesApi, setPlacesApi] = useState<itemsApi<Place>>();
|
||||
const [eventsApi, setEventsApi] = useState<itemsApi<Event>>();
|
||||
// const [refiApi, setRefiApi] = useState<refiBcnApi>();
|
||||
const [tagsApi, setTagsApi] = useState<itemsApi<Tag>>();
|
||||
const [permissionsApiInstance, setPermissionsApiInstance] = useState<permissionsApi>();
|
||||
const [updatesApiInstance, setUpdatesApiInstance] = useState<itemsApi<Place>>();
|
||||
@ -21,11 +20,10 @@ function MapContainer() {
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
setPlacesApi(new itemsApi<Place>('places',"e31de961-6709-4413-a27d-00e59ccfe472"));
|
||||
setEventsApi(new itemsApi<Event>('events', "1837e83e-07f1-44c0-88c0-8e9ea8e597db"));
|
||||
setUpdatesApiInstance(new itemsApi('updates',"b4dd8b6b-80e8-4173-9682-4a5755e7b9cb", undefined, {"latest":{"_eq": true}}));
|
||||
setTagsApi(new itemsApi<Tag>('tags', undefined, "8bf681a4-1b8d-44ba-afba-c6dbf79a769f"));
|
||||
// setRefiApi(new refiBcnApi('refi'));
|
||||
setPlacesApi(new itemsApi<Place>('places',"04c243f6-7924-49ad-9867-2dfea5109d38"));
|
||||
setEventsApi(new itemsApi<Event>('events', "8c2e474d-eb9a-4f48-8d5e-88f9605065f2"));
|
||||
setUpdatesApiInstance(new itemsApi('updates',"95271bf2-d3d2-4309-91d9-f255f07ac88f", undefined, {"latest":{"_eq": true}}));
|
||||
setTagsApi(new itemsApi<Tag>('tags', undefined, "8dcb29a4-c455-4e69-8b04-203a627f974b"));
|
||||
setPermissionsApiInstance(new permissionsApi());
|
||||
|
||||
}, []);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user