style: auto-fix lint and format
This commit is contained in:
1 parent
31d9e8d582
commit
6bbb786ede
3 files changed
+23
-18
No files matched your search
@@ -128,10 +128,7 @@ export const createBoardContentPage = <TParams extends Record<string, unknown>>(
|
||||
};
|
||||
} catch (error) {
|
||||
// Ignore not found and bad-request errors and return empty metadata
|
||||
if (
|
||||
error instanceof TRPCError &&
|
||||
(error.code === "NOT_FOUND" || error.code === "BAD_REQUEST")
|
||||
) {
|
||||
if (error instanceof TRPCError && (error.code === "NOT_FOUND" || error.code === "BAD_REQUEST")) {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user