Skip to content

Commit

Permalink
fixes path revalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelp committed Oct 25, 2024
1 parent 19d324c commit 8e3db50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/actions/user-profile-mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const updateProfileImage = authenticatedAction
.update(userCommonData)
.set({ profilePhoto: blobUpload.url })
.where(eq(userCommonData.clerkID, user.clerkID));
revalidatePath("/settings/profile");
revalidatePath("/settings#profile");
return { success: true };
},
);

0 comments on commit 8e3db50

Please sign in to comment.