Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Jan 6, 2024
1 parent c67da98 commit 1b4601b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AnimatePresenceSSR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { ComponentProps } from "react";
import React from "react";

export const AnimatePresenceSSR = (
props: ComponentProps<typeof AnimatePresence>
props: ComponentProps<typeof AnimatePresence>,
) => {
return typeof window !== "undefined" ? (
<AnimatePresence {...props} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { numberOfOrganizationsToShowAtom } from "../atoms/numberOfOrganizationsT

export const useNumberOfOrganizationsToShow = () => {
const [numberOfOrganizations, setNumberOfOrganizations] = useAtom(
numberOfOrganizationsToShowAtom
numberOfOrganizationsToShowAtom,
);
const reset = useResetAtom(numberOfOrganizationsToShowAtom);

Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/trpc/[trpc].ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default createNextApiHandler({
env.NODE_ENV === "development"
? ({ path, error }) => {
console.error(
`❌ tRPC failed on ${path ?? "<no-path>"}: ${error.message}`
`❌ tRPC failed on ${path ?? "<no-path>"}: ${error.message}`,
);
}
: undefined,
Expand Down

0 comments on commit 1b4601b

Please sign in to comment.