Skip to content

Commit a640904

Browse files
authored
fix: heading order on gen1/prev subscribe-data page (#7790)
1 parent 2ee5be3 commit a640904

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/fragments/lib-v1/graphqlapi/flutter/subscribe-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Amplify.Hub.listen(
7676
);
7777
```
7878

79-
#### SubscriptionStatus
79+
### SubscriptionStatus
8080

8181
- **`connected`** - Connected and working with no issues
8282
- **`connecting`** - Attempting to connect (both initial connection and reconnection)

src/fragments/lib-v1/graphqlapi/ios/subscribe-data.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ func createSubscription() {
8282

8383
</BlockSwitcher>
8484

85-
### Unsubscribing from updates
85+
## Unsubscribing from updates
8686

87-
#### Listener (iOS 11+)
87+
### Listener (iOS 11+)
8888

8989
To unsubscribe from updates, you can call `cancel()` on the subscription
9090

@@ -95,7 +95,7 @@ func cancelSubscription() {
9595
}
9696
```
9797

98-
#### Combine (iOS 13+)
98+
### Combine (iOS 13+)
9999

100100
With the Combine flavor of the `subscribe()` API, you have the option of canceling just the downstream Combine subscriber, or the entire GraphQL subscription.
101101

src/fragments/lib/graphqlapi/flutter/subscribe-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Amplify.Hub.listen(
7676
);
7777
```
7878

79-
#### SubscriptionStatus
79+
### SubscriptionStatus
8080

8181
- **`connected`** - Connected and working with no issues
8282
- **`connecting`** - Attempting to connect (both initial connection and reconnection)

src/fragments/lib/graphqlapi/ios/subscribe-data.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ func createSubscription() {
8787

8888
</BlockSwitcher>
8989

90-
### Unsubscribing from updates
90+
## Unsubscribing from updates
9191

92-
#### Async/Await
92+
### Async/Await
9393

9494
To unsubscribe from updates, you can call `cancel()` on the subscription.
9595

@@ -100,7 +100,7 @@ func cancelSubscription() {
100100
}
101101
```
102102

103-
#### Combine
103+
### Combine
104104

105105
Calling `cancel()` on the sequence will disconnect the subscription from the backend. Any downstream subscribers will also be cancelled.
106106

0 commit comments

Comments
 (0)