Skip to content

Commit

Permalink
Merge pull request #57 from sora32127/add_commit_history
Browse files Browse the repository at this point in the history
【hotfix】エラーの吐き出しのスタイルを変更
  • Loading branch information
sora32127 authored May 14, 2024
2 parents 83eb567 + 099d1df commit add06f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/_layout.archives.$postId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function loader({ request }:LoaderFunctionArgs){

let similarPosts = [];
if (error) {
throw new Response(`Internal Server Error : Failed to fetch similar posts, ${error.message}`, { status: 500 });
console.error(error.code, error.message);
}else{
similarPosts = data.slice(1,);
}
Expand Down

1 comment on commit add06f9

@vercel
Copy link

@vercel vercel bot commented on add06f9 May 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.