style(newIDE/app): align two files with prettier 1.15.3 in newIDE/app

The newIDE/app (lint + format + types) CI job added in Phase 5 caught
two pre-existing files that were formatted with a different prettier
version (likely 2.x/3.x during the BYOK + subscription unlock work):

- src/Profile/Subscription/SubscriptionChecker.js
- src/Utils/GDevelopServices/Generation.js

Both have one wrapped-multi-line destructuring parameter that prettier
1.15.3 (pinned in newIDE/app/package.json) inlines to a single line.
Mechanical prettier --write fix; no behavioral change.

Verified:
  npm run check-format -> exit 0
  npm run lint          -> exit 0
  npm test (matching)   -> 33 passed, 0 failed
This commit is contained in:
Claude
2026-08-20 01:39:32 -04:00
parent bdd9539a22
commit 622824ec57
2 changed files with 2 additions and 14 deletions
@@ -32,16 +32,7 @@ const SubscriptionChecker: React.ComponentType<{
...Props,
+ref?: React.RefSetter<SubscriptionCheckerInterface>,
}> = React.forwardRef<Props, SubscriptionCheckerInterface>(
(
{
mode,
id,
title,
onChangeSubscription,
placementId,
},
ref
) => {
({ mode, id, title, onChangeSubscription, placementId }, ref) => {
const [dialogOpen, setDialogOpen] = React.useState<boolean>(false);
const closeDialog = () => {
@@ -4,10 +4,7 @@ import { GDevelopAiCdn, GDevelopGenerationApi } from './ApiConfigs';
import { type MessageByLocale } from '../i18n/MessageByLocale';
import { getIDEVersionWithHash } from '../../Version';
import { extractNextPageUriFromLinkHeader } from './Play';
import {
ensureIsArray,
ensureObjectHasProperty,
} from '../DataValidator';
import { ensureIsArray, ensureObjectHasProperty } from '../DataValidator';
import {
isCustomEndpointEnabled,
customCreateAiRequest,