Skip to content

Commit

Permalink
Switch order of conditional so flutter is first
Browse files Browse the repository at this point in the history
  • Loading branch information
timngyn committed May 2, 2024
1 parent 569bae4 commit d5609e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/[platform]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@ const Gen2Overview = () => {
<Heading level={1} className="home-intro__heading">
Amplify Documentation for {PLATFORM_DISPLAY_NAMES[currentPlatform]}
</Heading>
{isMobilePlatform ? (
{isFlutter ? (
<Text className="home-intro__text">
AWS Amplify is everything mobile developers need to develop
AWS Amplify is everything Flutter developers need to develop
cloud-powered fullstack applications without hassle. Easily connect
your cross-platform applications to the cloud for data modeling,
your Flutter applications to the cloud for data modeling,
authentication, storage, serverless functions, and more.
</Text>
) : isFlutter ? (
) : isMobilePlatform ? (
<Text className="home-intro__text">
AWS Amplify is everything Flutter developers need to develop
AWS Amplify is everything mobile developers need to develop
cloud-powered fullstack applications without hassle. Easily connect
your Flutter applications to the cloud for data modeling,
your cross-platform applications to the cloud for data modeling,
authentication, storage, serverless functions, and more.
</Text>
) : (
Expand Down

0 comments on commit d5609e1

Please sign in to comment.