Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
lublagg committed Jan 29, 2024
1 parent 32c7c5f commit beb31f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit beb31f8

Please sign in to comment.