diff --git a/src/components/App.tsx b/src/components/App.tsx index 7a79403..3e3c5f6 100755 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -38,8 +38,6 @@ export const App = () => { const init = async () => { const newState = await initializePlugin({pluginName: kPluginName, version: kVersion, dimensions: kInitialDimensions}) as IState; - console.log("newState", newState); - // plugins in new documents return an empty object for the interactive state // so ignore the new state and keep the default starting state in that case if (Object.keys(newState || {}).length > 0) { @@ -55,7 +53,6 @@ export const App = () => { draft.didUserSelectDate = newState.didUserSelectDate; draft.isMapOpen = newState.isMapOpen; - // to-do: convert end date and start date strings to Date objects const startDateStr = newState.startDate; const endDateStr = newState.endDate; if (startDateStr) {