We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b241ca0 commit 2905a64Copy full SHA for 2905a64
src/app/page.tsx
@@ -4,10 +4,5 @@ import WeatherClient from "./components/WeatherClient";
4
export default async function Page() {
5
const isWeatherWidgetEnabled = await weatherWidgetFlag();
6
7
- return (
8
- <div>
9
- <h1>Welcome to Next.js + Playwright</h1>
10
- <WeatherClient isEnabled={isWeatherWidgetEnabled} />
11
- </div>
12
- );
+ return <div>{isWeatherWidgetEnabled ? "Flag is on" : "Flag is off"}</div>;
13
}
0 commit comments