Skip to content

Commit

Permalink
change path for buzz edits to work with loading components
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinsjoy committed Aug 21, 2024
1 parent 2ac45bf commit ba9b0a9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion components/forms/EditThread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const EditThread = ({ threadId, currentUserId, authorId }: Props) => {
if (currentUserId !== authorId) return null;

return (
<Link href={`/thread/edit/${JSON.parse(threadId)}`}>
<Link href={`/edit/${JSON.parse(threadId)}`}>
<Image
src="/assets/edit.svg"
alt="edit buzz"
Expand Down

0 comments on commit ba9b0a9

Please sign in to comment.