Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sendouc committed Sep 14, 2024
1 parent 920355b commit 687b7f5
Show file tree
Hide file tree
Showing 11 changed files with 1,063 additions and 702 deletions.
4 changes: 2 additions & 2 deletions app/db/seed/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ function calendarEvents() {
description: faker.lorem.paragraph(),
discordInviteCode: faker.lorem.word(),
bracketUrl: faker.internet.url(),
authorId: id === 1 ? NZAP_TEST_ID : userIds.pop() ?? null,
authorId: id === 1 ? NZAP_TEST_ID : (userIds.pop() ?? null),
tags:
Math.random() > 0.2
? shuffledTags
Expand Down Expand Up @@ -1869,7 +1869,7 @@ function arts() {
) {
addArtUserMetadataStm.run({
artId: addedArt.id,
userId: i === 0 ? NZAP_TEST_ID : allUsers.pop() ?? null,
userId: i === 0 ? NZAP_TEST_ID : (allUsers.pop() ?? null),
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/features/build-analyzer/routes/analyzer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ function ConsumptionTable({
</Table>
{subWeaponId === TORPEDO_ID && (
<div className="analyzer__consumption-table-explanation">
<> {t("analyzer:torpedoExplanation")}</>
{t("analyzer:torpedoExplanation")}
</div>
)}
</>
Expand Down
9 changes: 6 additions & 3 deletions app/features/map-planner/plans.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
font-display: swap;
src: url(https://fonts.gstatic.com/s/recursive/v23/8vI-7wMr0mhh-RQChyHEH06TlXhq_gukbYrFMk1QuAIcyEwG_X-dpEfaE5YaERmK-CImKsvxvU-MXGX2fSqasNfUlTGZnI14ZeY.woff2)
format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
U+FEFF, U+FFFD;
}
Expand All @@ -23,7 +24,8 @@
font-display: swap;
src: url(https://fonts.gstatic.com/s/recursive/v23/8vI-7wMr0mhh-RQChyHEH06TlXhq_gukbYrFMk1QuAIcyEwG_X-dpEfaE5YaERmK-CImKsvxvU-MXGX2fSqasNfUlTGZnI14ZeY.woff2)
format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
U+FEFF, U+FFFD;
}
Expand All @@ -35,7 +37,8 @@
font-display: swap;
src: url(https://fonts.gstatic.com/s/recursive/v23/8vI-7wMr0mhh-RQChyHEH06TlXhq_gukbYrFMk1QuAIcyEwG_X-dpEfaE5YaERmK-CImqvTxvU-MXGX2fSqasNfUlTGZnI14ZeY.woff2)
format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
U+FEFF, U+FFFD;
}
Expand Down
18 changes: 8 additions & 10 deletions app/features/sendouq/components/GroupCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,16 +263,14 @@ function GroupMember({
{showNote && member.privateNote ? (
<Popover
buttonChildren={
<>
<Avatar
user={member}
size="xs"
className={clsx(
"q__group-member__avatar",
`q__group-member__avatar__${member.privateNote.sentiment}`,
)}
/>
</>
<Avatar
user={member}
size="xs"
className={clsx(
"q__group-member__avatar",
`q__group-member__avatar__${member.privateNote.sentiment}`,
)}
/>
}
>
{member.privateNote.text}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ export function BracketMapListDialog({
<GlobalMapCountInput
defaultValue={
// beautiful 🥹
mapCounts.values().next().value.values().next().value
.count
mapCounts.values().next().value?.values().next().value
?.count
}
onSetCount={(newCount) => {
const newMapCounts = mapCountsWithGlobalCount(newCount);
Expand Down
1 change: 0 additions & 1 deletion app/features/tournament-bracket/tournament-bracket.css
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@
.tournament-bracket__quick-action {
font-size: var(--fonts-xs);
color: var(--text);
border-color: var(--bg-lightest-solid);
background-color: var(--bg);
border-radius: var(--rounded);
border: 2px solid var(--bg-lightest-solid);
Expand Down
2 changes: 1 addition & 1 deletion app/hooks/useTimeoutState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const useTimeoutState = <T>(
] => {
const [state, _setState] = React.useState<T>(defaultState);
const [currentTimeoutId, setCurrentTimeoutId] = React.useState<
Timer | undefined
NodeJS.Timeout | undefined
>();

const setState = React.useCallback(
Expand Down
4 changes: 3 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
}
},
"a11y": {
"useKeyWithClickEvents": "off"
"useKeyWithClickEvents": "off",
"useSemanticElements": "off",
"noLabelWithoutControl": "off"
},
"complexity": {
"useLiteralKeys": {
Expand Down
Loading

0 comments on commit 687b7f5

Please sign in to comment.