Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 28, 2023
1 parent f30fe4e commit 76a86ed
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 30 deletions.
24 changes: 12 additions & 12 deletions _official-realtime-app/app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,25 +119,25 @@ function StatusMenu({ issue }: { issue: Issue }) {
issue.status === 1
? "text-yellow-500"
: issue.status === 2
? "text-orange-500"
: issue.status === 3
? "text-green-600"
: issue.status === 4
? "text-indigo-600"
: "text-gray-300",
? "text-orange-500"
: issue.status === 3
? "text-green-600"
: issue.status === 4
? "text-indigo-600"
: "text-gray-300",
)}
>
<use
href={`${icons}#${
issue.status === 1
? "pie-1/4"
: issue.status === 2
? "pie-1/2"
: issue.status === 3
? "pie-3/4"
: issue.status === 4
? "check"
: "circle"
? "pie-1/2"
: issue.status === 3
? "pie-3/4"
: issue.status === 4
? "check"
: "circle"
}`}
/>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions infinite-scrolling/app/routes/offset.advanced.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ export default function Index() {
{item
? item.value
: transition.state === "loading"
? "Loading more..."
: "Nothing to see here..."}
? "Loading more..."
: "Nothing to see here..."}
</span>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions infinite-scrolling/app/routes/offset.simple.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ export default function Index() {
{item
? item.value
: transition.state === "loading"
? "Loading more..."
: "Nothing to see here..."}
? "Loading more..."
: "Nothing to see here..."}
</span>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions infinite-scrolling/app/routes/page.advanced.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ export default function Index() {
{item
? item.value
: transition.state === "loading"
? "Loading more..."
: "Nothing to see here..."}
? "Loading more..."
: "Nothing to see here..."}
</span>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions infinite-scrolling/app/routes/page.simple.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ export default function Index() {
{item
? item.value
: transition.state === "loading"
? "Loading more..."
: "Nothing to see here..."}
? "Loading more..."
: "Nothing to see here..."}
</span>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions newsletter-signup/app/routes/newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ export default function Newsletter() {
transition.submission
? "submitting"
: actionData?.subscription
? "success"
: actionData?.error
? "error"
: "idle";
? "success"
: actionData?.error
? "error"
: "idle";

const inputRef = useRef<HTMLInputElement>(null);
const successRef = useRef<HTMLHeadingElement>(null);
Expand Down
8 changes: 4 additions & 4 deletions pm-app/app/ui/flex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ const Flex = React.forwardRef<HTMLDivElement, FlexProps>(
wrap === true
? "wrap"
: wrap === false || wrap === "nowrap"
? "nowrap"
: wrap === "reverse"
? "wrap-reverse"
: wrap
? "nowrap"
: wrap === "reverse"
? "wrap-reverse"
: wrap
}`]: wrap != null,
[`${COMP_CLASS}--align-items-${alignItems}`]: alignItems != null,
[`${COMP_CLASS}--align-content-${alignContent}`]:
Expand Down
4 changes: 2 additions & 2 deletions pm-app/app/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export type RemoveIndex<T> = {
[K in keyof T as string extends K
? never
: number extends K
? never
: K]: T[K];
? never
: K]: T[K];
};

0 comments on commit 76a86ed

Please sign in to comment.