diff --git a/.DS_Store b/.DS_Store index 6a511e86..7153aff4 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/components/Content/Planets/UserOwnedPlanets.tsx b/components/Content/Archive/UserOwnedPlanets.tsx similarity index 100% rename from components/Content/Planets/UserOwnedPlanets.tsx rename to components/Content/Archive/UserOwnedPlanets.tsx diff --git a/components/Content/Inventory/ArchivedInventory.tsx b/components/Content/Inventory/ArchivedInventory.tsx index 1386d9ee..015a8f83 100644 --- a/components/Content/Inventory/ArchivedInventory.tsx +++ b/components/Content/Inventory/ArchivedInventory.tsx @@ -1,7 +1,7 @@ import React from "react"; import { useSession, useSupabaseClient } from "@supabase/auth-helpers-react"; import Layout from "../../Section/Layout"; -import OwnedPlanetsList from "../Planets/UserOwnedPlanets"; // Potentially this should be in a lists component dir +import OwnedPlanetsList from "../Archive/UserOwnedPlanets"; // Potentially this should be in a lists component dir import OwnedItemsList from "./UserOwnedItems"; import MySpaceships from "./Vehicles/MySpaceships"; diff --git a/components/Content/Planets/Activities/SectorSetup.tsx b/components/Content/Planets/Activities/SectorSetup.tsx index 324845fd..9803fb0b 100644 --- a/components/Content/Planets/Activities/SectorSetup.tsx +++ b/components/Content/Planets/Activities/SectorSetup.tsx @@ -14,7 +14,7 @@ export default function CreateBasePlanetSector() { return; }; - try { + try { const { data, error } = await supabase .from('profiles') .select('*') diff --git a/components/Content/Planets/CreatePlanetSector.tsx b/components/Content/Planets/CreatePlanetSector.tsx index 41519088..203bf485 100644 --- a/components/Content/Planets/CreatePlanetSector.tsx +++ b/components/Content/Planets/CreatePlanetSector.tsx @@ -14,5 +14,7 @@ function CreatePlanetSectorComponent ({ planetId }) { // Generate random mineral deposits - will later be set in db const depsitCount = Math.floor(Math.random() * 5); - } -} \ No newline at end of file + }; +}; + +// Appears to be the starting point for a function... \ No newline at end of file diff --git a/components/Content/Planets/IndividualPlanet.tsx b/components/Content/Planets/IndividualPlanet.tsx index 6483efa5..4a7fd655 100644 --- a/components/Content/Planets/IndividualPlanet.tsx +++ b/components/Content/Planets/IndividualPlanet.tsx @@ -14,7 +14,7 @@ enum SidebarLink { Visit, } -export default function IndividualPlanet({ id }: { id: string }) { +export default function IndividualPlanet({ id }: { id: string }) { // Appears to be from `CPW-8` branch const router = useRouter(); const supabase = useSupabaseClient(); @@ -222,7 +222,7 @@ export default function IndividualPlanet({ id }: { id: string }) { {hasPlanetInInventory && (<>

{inventoryPlanetId}

- + )} diff --git a/components/Content/Planets/PlanetSector.tsx b/components/Content/Planets/PlanetSector.tsx index 24cd2805..197b51a8 100644 --- a/components/Content/Planets/PlanetSector.tsx +++ b/components/Content/Planets/PlanetSector.tsx @@ -1,6 +1,6 @@ import React from "react"; -interface Sector { +interface Sector { id: number; metadata: string; }; diff --git a/pages/explore.tsx b/pages/explore.tsx index b93ce043..f409badc 100644 --- a/pages/explore.tsx +++ b/pages/explore.tsx @@ -1,7 +1,7 @@ import React from "react"; import { useSession, useSupabaseClient } from "@supabase/auth-helpers-react"; import Layout from "../components/Section/Layout"; -import OwnedPlanetsList from "../components/Content/Planets/UserOwnedPlanets"; +import OwnedPlanetsList from "../components/Content/Archive/UserOwnedPlanets"; import OwnedItemsList from "../components/Content/Inventory/UserOwnedItems"; import MySpaceships from "../components/Content/Inventory/Vehicles/MySpaceships";