Skip to content

Commit

Permalink
Remvoe console message.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-wu committed May 28, 2024
1 parent 16a2d93 commit 7cec2bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/scripts/Utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ const createNewAnnotationsWithFeatures = (zincObject, region, group, scaffoldUrl
export const addUserAnnotationWithFeature = (service, userToken, zincObject, region, group, scaffoldUrl, action) => {
if (service && service.currentUser) {
const annotation = createNewAnnotationsWithFeatures(zincObject, region, group, scaffoldUrl, action);
console.log(annotation)
if (annotation) {
annotation.creator = {...service.currentUser};
if (!annotation.creator.orcid) annotation.creator.orcid = '0000-0000-0000-0000';
Expand Down Expand Up @@ -309,7 +308,6 @@ export const getDrawnAnnotations = async (service, userToken, scaffoldUrl) => {
export const annotationFeaturesToPrimitives = (scene, features) => {
if (scene) {
features.forEach((feature) => {
console.log(feature)
const geometry = feature.geometry;
const regionGroup = decodeURIComponent(feature.id);
const last = regionGroup.lastIndexOf('/');
Expand Down

0 comments on commit 7cec2bd

Please sign in to comment.