From c67a390afd586194750698af026233196d818373 Mon Sep 17 00:00:00 2001 From: Joe Bacal Date: Mon, 19 Aug 2024 19:24:15 -0400 Subject: [PATCH] cleanup --- src/components/location-tab.tsx | 1 - src/components/simulation-tab.tsx | 2 -- src/hooks/useCodapData.ts | 1 - 3 files changed, 4 deletions(-) diff --git a/src/components/location-tab.tsx b/src/components/location-tab.tsx index 2e24e11..297f27a 100644 --- a/src/components/location-tab.tsx +++ b/src/components/location-tab.tsx @@ -3,7 +3,6 @@ import { useCodapData } from "../hooks/useCodapData"; import { kChildCollectionAttributes } from "../constants"; import { ICodapDataContextInfo, ILocation } from "../types"; import { LocationPicker } from "./location-picker"; -import { locationsEqual } from "../utils/daylight-utils"; import "../assets/scss/location-tab.scss"; diff --git a/src/components/simulation-tab.tsx b/src/components/simulation-tab.tsx index b4bfa00..a5bbb2d 100644 --- a/src/components/simulation-tab.tsx +++ b/src/components/simulation-tab.tsx @@ -1,8 +1,6 @@ import React from "react"; import { ILocation } from "../types"; -import { useCodapData } from "../hooks/useCodapData"; import Seasons from "../grasp-seasons/components/seasons"; -import { locationsEqual } from "../utils/daylight-utils"; import "../assets/scss/simulation-tab.scss"; diff --git a/src/hooks/useCodapData.ts b/src/hooks/useCodapData.ts index ebb5324..654fa92 100644 --- a/src/hooks/useCodapData.ts +++ b/src/hooks/useCodapData.ts @@ -23,7 +23,6 @@ export const useCodapData = () => { if (result.success) { let dc = result.values; let lastCollection = dc.collections[dc.collections.length - 1]; - console.trace(); return await codapInterface.sendRequest({ action: "delete", resource: `dataContext[${kDataContextName}].collection[${lastCollection.name}].allCases`