Skip to content

Commit

Permalink
🎎πŸͺ‡ ↝ Setting up development env again for sector creation method update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Feb 14, 2024
1 parent 8943d62 commit 0b88920
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion components/Content/Inventory/ArchivedInventory.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion components/Content/Planets/Activities/SectorSetup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function CreateBasePlanetSector() {
return;
};

try {
try {
const { data, error } = await supabase
.from('profiles')
.select('*')
Expand Down
6 changes: 4 additions & 2 deletions components/Content/Planets/CreatePlanetSector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ function CreatePlanetSectorComponent ({ planetId }) {

// Generate random mineral deposits - will later be set in db
const depsitCount = Math.floor(Math.random() * 5);
}
}
};
};

// Appears to be the starting point for a function...
4 changes: 2 additions & 2 deletions components/Content/Planets/IndividualPlanet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -222,7 +222,7 @@ export default function IndividualPlanet({ id }: { id: string }) {
{hasPlanetInInventory && (<>
<p>{inventoryPlanetId}</p>
<RoverGallerySingle inventoryPlanetId={inventoryPlanetId} />
<PlanetSector sectors={sectors} />
<PlanetSector sectors={sectors} />
</>)}
</div>
</LayoutNoNav>
Expand Down
2 changes: 1 addition & 1 deletion components/Content/Planets/PlanetSector.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";

interface Sector {
interface Sector {
id: number;
metadata: string;
};
Expand Down
2 changes: 1 addition & 1 deletion pages/explore.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down

0 comments on commit 0b88920

Please sign in to comment.