Skip to content

Commit

Permalink
Merge pull request #788 from andrew-bierman/eliyas/resolve_issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-bierman authored Mar 28, 2024
2 parents 760d03f + cdc214a commit 9cc121b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/app/components/feed/FeedCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default function Card({
gap: 8,
}}
>
<Link href={`/profile/${owner_id}`}>
<Link href={`/profile/${owner?._id}`}>
<RText color={currentTheme.colors.textColor}>
View {owner?.username ? '@' + owner?.username : 'Owner'}
</RText>
Expand Down
2 changes: 1 addition & 1 deletion packages/app/hooks/packs/useDeletePack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const useDeletePack = (id) => {

const handleDeletePack = async () => {
try {
await deletePack(id);
await deletePack({ packId: id });
router.replace('/packs');
} catch {}
};
Expand Down

0 comments on commit 9cc121b

Please sign in to comment.