Yarn upgrade (#2749)

* yarn upgrade front and docs

* upgrade yarn server

* Revert change not needed
This commit is contained in:
Félix Malfait
2023-11-28 16:48:02 +01:00
committed by GitHub
parent 8f03ba88a7
commit aeccc87ac5
11 changed files with 7242 additions and 7571 deletions

View File

@ -136,7 +136,7 @@ export class ApolloFactory<TCacheShape> implements ApolloManager<TCacheShape> {
[
errorLink,
authLink,
...(extraLinks ? extraLinks : []),
...(extraLinks || []),
isDebugMode ? logger : null,
retryLink,
httpLink,

View File

@ -219,7 +219,7 @@ export const ValidationStep = <T extends string>({
onRowsChange={updateRow}
columns={columns}
selectedRows={selectedRows}
onSelectedRowsChange={setSelectedRows}
onSelectedRowsChange={setSelectedRows as any} // TODO: replace 'any'
components={{
noRowsFallback: (
<StyledNoRowsContainer>
@ -235,4 +235,5 @@ export const ValidationStep = <T extends string>({
<ContinueButton onContinue={onContinue} title="Confirm" />
</>
);
};

View File

@ -714,7 +714,6 @@ export {
IconBrandMercedes,
IconBrandMessenger,
IconBrandMeta,
IconBrandMicrosoftTeams,
IconBrandMinecraft,
IconBrandMiniprogram,
IconBrandMixpanel,
@ -813,6 +812,7 @@ export {
IconBrandTabler,
IconBrandTailwind,
IconBrandTaobao,
IconBrandTeams,
IconBrandTed,
IconBrandTelegram,
IconBrandTerraform,

View File

@ -11,7 +11,7 @@ type TimingProfilerProps = {
export const TimingProfiler = ({ id, children }: TimingProfilerProps) => {
const handleRender = (
id: string,
phase: 'mount' | 'update',
phase: 'mount' | 'update' | 'nested-update',
actualDuration: number,
baseDuration: number,
startTime: number,

View File

@ -60,17 +60,16 @@ export const castAsIntegerOrNull = (
return null;
}
if (probableNumberOrNull === '') {
return null;
if (isString(probableNumberOrNull)) {
if (probableNumberOrNull === '') {
return null;
}
return +probableNumberOrNull;
}
if (isNumber(probableNumberOrNull)) {
return probableNumberOrNull;
}
if (isString(probableNumberOrNull)) {
return +probableNumberOrNull;
}
return null;
};

View File

@ -50,17 +50,17 @@ export const castAsPositiveIntegerOrNull = (
return null;
}
if (probablePositiveNumberOrNull === '') {
return null;
if (isString(probablePositiveNumberOrNull)) {
if (probablePositiveNumberOrNull === '') {
return null;
}
return +probablePositiveNumberOrNull;
}
if (isNumber(probablePositiveNumberOrNull)) {
return probablePositiveNumberOrNull;
}
if (isString(probablePositiveNumberOrNull)) {
return +probablePositiveNumberOrNull;
}
return null;
};