Skip to content

Commit

Permalink
Merge pull request #53 from pulgueta/userProfile
Browse files Browse the repository at this point in the history
address error
  • Loading branch information
pulgueta committed Jul 24, 2023
2 parents bd3aa6f + f856e7b commit 42025de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interfaces/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export interface FirebaseUser {
motherSurname: string;
name: string;
profilePicture: string;
address: null | [];
address: null | Shipping[];
}


Expand Down
2 changes: 1 addition & 1 deletion src/utils/firebase/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { addDoc, arrayUnion, collection, deleteDoc, doc, DocumentData, getDoc, g
import { deleteObject, getDownloadURL, ref, uploadBytesResumable } from "firebase/storage"
import { v4 } from 'uuid'

import { currentUser, db, storage } from "@/firebase"
import { db, storage } from "@/firebase"
import { CommentInfo, Inputs, PersonalDataProps, Shipping } from "@/interfaces"

export const updateInformation = async (values: PersonalDataProps, uid: string): Promise<void | FirebaseError> => {
Expand Down

0 comments on commit 42025de

Please sign in to comment.