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}