Skip to content

Commit 61613af

Browse files
committed
Hide logs
1 parent ab612a3 commit 61613af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/hooks/use-profile.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const useProfile = () => {
1616

1717
const refreshProfile = () => {
1818
if (user) {
19-
logger.debug('Refreshing profile in useProfile for', user?.username, profile);
19+
// logger.debug('Refreshing profile in useProfile for', user?.username, profile);
2020
getProfileRow(user.id, db).then((profile) => {
2121
if (!profile) setProfile(null)
2222
else setProfile(profile)
@@ -39,7 +39,7 @@ export const useProfileByUser = (user: User | undefined) => {
3939

4040
function refreshProfile() {
4141
if (userId) {
42-
console.debug('Refreshing profile in useProfileByUser for', user?.username, profile);
42+
// console.debug('Refreshing profile in useProfileByUser for', user?.username, profile);
4343
getProfileRow(userId, db)
4444
.then((profile) => {
4545
if (!profile) setProfile(null)
@@ -67,7 +67,7 @@ export const useProfileByUserId = (userId: string | undefined) => {
6767
>(undefined, `profile-${userId}`)
6868

6969
useEffect(() => {
70-
console.debug('Refreshing profile in useProfileByUserId for', userId, profile);
70+
// console.debug('Refreshing profile in useProfileByUserId for', userId, profile);
7171
if (userId)
7272
getProfileRow(userId, db).then((profile) => {
7373
if (!profile) setProfile(null)

0 commit comments

Comments
 (0)