Skip to content

Commit d383a42

Browse files
authored
Fix heading order on subscribe-data page (#7739)
1 parent 82126fa commit d383a42

File tree

1 file changed

+4
-4
lines changed
  • src/pages/[platform]/build-a-backend/data/subscribe-data

1 file changed

+4
-4
lines changed

src/pages/[platform]/build-a-backend/data/subscribe-data/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ func createSubscription() {
340340

341341
</BlockSwitcher>
342342

343-
### Unsubscribing from updates
343+
## Unsubscribing from updates
344344

345-
#### Async/Await
345+
### Async/Await
346346

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

@@ -353,7 +353,7 @@ func cancelSubscription() {
353353
}
354354
```
355355

356-
#### Combine
356+
### Combine
357357

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

@@ -537,7 +537,7 @@ Amplify.Hub.listen(
537537
);
538538
```
539539

540-
#### SubscriptionStatus
540+
### SubscriptionStatus
541541

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

0 commit comments

Comments
 (0)