瀏覽代碼

remove console log

Abhinav 1 年之前
父節點
當前提交
8f3a13ea09
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      apps/photos/src/pages/gallery/index.tsx
  2. 0 1
      apps/photos/src/pages/shared-albums/index.tsx

+ 0 - 1
apps/photos/src/pages/gallery/index.tsx

@@ -814,7 +814,6 @@ export default function Gallery() {
                         typeof value === 'function'
                         typeof value === 'function'
                             ? value(attributes)
                             ? value(attributes)
                             : { ...attributes, ...value };
                             : { ...attributes, ...value };
-                    console.log('value', attributes, updatedAttributes);
                     const updatedAttributesList = attributes
                     const updatedAttributesList = attributes
                         ? prev.map((attr) =>
                         ? prev.map((attr) =>
                               attr.id === id ? updatedAttributes : attr
                               attr.id === id ? updatedAttributes : attr

+ 0 - 1
apps/photos/src/pages/shared-albums/index.tsx

@@ -147,7 +147,6 @@ export default function PublicCollectionGallery() {
                         typeof value === 'function'
                         typeof value === 'function'
                             ? value(attributes)
                             ? value(attributes)
                             : { ...attributes, ...value };
                             : { ...attributes, ...value };
-                    console.log('value', attributes, updatedAttributes);
                     const updatedAttributesList = attributes
                     const updatedAttributesList = attributes
                         ? prev.map((attr) =>
                         ? prev.map((attr) =>
                               attr.id === id ? updatedAttributes : attr
                               attr.id === id ? updatedAttributes : attr