diff --git a/.changeset/fast-bears-burn.md b/.changeset/fast-bears-burn.md new file mode 100644 index 00000000000..5bae0ba19e2 --- /dev/null +++ b/.changeset/fast-bears-burn.md @@ -0,0 +1,5 @@ +--- +"@remix-run/dev": patch +--- + +[REMOVE] Fix implementation of flag warning supression diff --git a/packages/remix-dev/config.ts b/packages/remix-dev/config.ts index fad59a58a95..c75f70f5f5a 100644 --- a/packages/remix-dev/config.ts +++ b/packages/remix-dev/config.ts @@ -770,7 +770,7 @@ export async function resolveConfig( } } - logFutureFlagWarnings(future); + logFutureFlagWarnings(appConfig.future || {}); isFirstLoad = false; @@ -881,7 +881,7 @@ function logFutureFlagWarning(args: { flag: string; message: string }) { }); } -export function logFutureFlagWarnings(future: FutureConfig) { +export function logFutureFlagWarnings(future: Partial) { if (future.v3_fetcherPersist === undefined) { logFutureFlagWarning({ flag: "v3_fetcherPersist",