removed unnecessary console.logs

This commit is contained in:
Martina 2021-09-26 14:39:35 -07:00
parent df9d426c18
commit d637d683cf
5 changed files with 0 additions and 24 deletions

View File

@ -424,7 +424,6 @@ export default class ApplicationPage extends React.Component {
};
render() {
// console.log(this.state.viewer);
let page = this.state.page;
if (!page?.id) {
page = NavigationData.getById(null, this.state.viewer);

View File

@ -3,12 +3,10 @@ import * as Serializers from "~/node_common/serializers";
import { runQuery } from "~/node_common/data/utilities";
export default async (user) => {
console.log("inside update user by id");
return await runQuery({
label: "UPDATE_USER_BY_ID",
queryFn: async (DB) => {
const query = await DB.from("users").where("id", user.id).update(user).returning("*");
console.log({ query });
const index = query ? query.pop() : null;
return JSON.parse(JSON.stringify(index));

View File

@ -227,17 +227,6 @@ export const createBucket = async ({
let ipfs = created.root.path;
const textileBucketCID = Strings.ipfsToCid(ipfs);
console.log({
textileKey,
textileToken,
textileThreadID,
textileBucketCID,
buckets,
bucketKey: created.root.key,
bucketRoot: created.root,
bucketName,
});
return {
textileKey,
textileToken,
@ -295,13 +284,6 @@ export const getBucket = async ({ user, bucketName = Constants.textile.mainBucke
Data.updateUserById({ id: user.id, textileToken, textileThreadID, textileBucketCID });
}
console.log({
buckets,
bucketKey: existing.key,
bucketRoot: existing,
bucketName,
});
return {
buckets,
bucketKey: existing.key,

View File

@ -20,11 +20,9 @@ export default async (req, res) => {
//NOTE(migration): may be able to just condense these two parts since they return it from delete anyways
// NOTE(jim): delete all of their public and private slates.
slates = await Data.deleteSlatesByUserId({ ownerId: id });
console.log({ slates });
// NOTE(martina): delete all of their public and private files.
files = await Data.deleteFilesByUserId({ ownerId: id });
console.log({ files });
const defaultData = await Utilities.getBucket({ user });

View File

@ -51,7 +51,6 @@ export default function SceneActivity({ page, viewer, external, onAction, ...pro
});
const handleFileClick = (fileIdx, groupFiles) =>
setGlobalCarouselState({ currentCarousel: fileIdx, currentObjects: groupFiles });
console.log(globalCarouselState.currentCarousel, globalCarouselState.currentObjects.length);
useIntersection({
ref: divRef,