Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
wxh06 committed Jun 18, 2024
1 parent ba7fc42 commit f8c5e74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/archive/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import cron from "./plugins/cron";
const fastify = Fastify({
logger: process.env.SOURCE_TOKEN
? pino(
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
pino.transport<{ sourceToken: string }>({
target: "@logtail/pino",
options: { sourceToken: process.env.SOURCE_TOKEN },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,10 @@ export default function InfiniteScrollReplies({
style={{ overflow: "inherit" }}
scrollThreshold="1024px"
>
{data?.map(
(dat) =>
dat.replies?.map((reply) => (
<Reply post={discussion} reply={reply} key={reply.id} />
)),
{data?.map((dat) =>
dat.replies?.map((reply) => (
<Reply post={discussion} reply={reply} key={reply.id} />
)),
)}
</InfiniteScroll>

Expand Down

0 comments on commit f8c5e74

Please sign in to comment.