2
diff --git a/src/Components/Templates/index.tsx b/src/Components/Templates/index.tsx
index 74b21097..ff396c16 100644
--- a/src/Components/Templates/index.tsx
+++ b/src/Components/Templates/index.tsx
@@ -4,3 +4,4 @@ export {MapOverlayPage} from './MapOverlayPage'
export {CircleLayout} from './CircleLayout'
export {MoonCalendar} from './MoonCalendar'
export {ItemsIndexPage} from "./ItemsIndexPage"
+export {ItemViewPage} from "./ItemViewPage"
\ No newline at end of file
diff --git a/src/Utils/GetValue.ts b/src/Utils/GetValue.ts
index 6e78c8ff..960d7b30 100644
--- a/src/Utils/GetValue.ts
+++ b/src/Utils/GetValue.ts
@@ -1,5 +1,5 @@
export function getValue(obj, path) {
- if (!obj) return undefined; // Return early if obj is falsy
+ if (!obj || typeof path !== 'string') return undefined;
var pathArray = path.split('.'); // Use a different variable for the split path
for (var i = 0, len = pathArray.length; i < len; i++) {
diff --git a/src/index.tsx b/src/index.tsx
index 7d2933b7..7ccec09d 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -3,7 +3,7 @@ export {AppShell, Content, SideBar} from "./Components/AppShell"
export {AuthProvider, useAuth, LoginPage, SignupPage, RequestPasswordPage, SetNewPasswordPage} from "./Components/Auth"
export {UserSettings, ProfileSettings, OverlayProfile, OverlayProfileSettings, OverlayUserSettings} from './Components/Profile'
export {Quests, Modal} from './Components/Gaming'
-export {TitleCard, CardPage, MapOverlayPage, CircleLayout, MoonCalendar, ItemsIndexPage} from './Components/Templates'
+export {TitleCard, CardPage, MapOverlayPage, CircleLayout, MoonCalendar, ItemsIndexPage, ItemViewPage} from './Components/Templates'
export {TextInput, TextAreaInput, SelectBox} from './Components/Input'
import "./index.css"
diff --git a/src/types.ts b/src/types.ts
index 1ee9d13b..011f286b 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -79,6 +79,7 @@ export interface Tag {
export interface ItemsApi
{
getItems(): Promise,
+ getItem?(item: T): Promise,
createItem?(item : T): Promise,
updateItem?(item : T): Promise,
deleteItem?(id : string): Promise,