docs: Correct indentation of a code sample in composition-api-helpers #3067
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The code sample in composition-api-helpers(useModel) had the end of a square bracket outside of the code sample due to an incorrect indentation as seen below
![Screenshot 2024-10-15 at 09 37 27](https://private-user-images.githubusercontent.com/11915180/376488863-ca947d5e-1cd0-46e2-bb91-ca35a0be3dfa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4OTA2NTcsIm5iZiI6MTczOTg5MDM1NywicGF0aCI6Ii8xMTkxNTE4MC8zNzY0ODg4NjMtY2E5NDdkNWUtMWNkMC00NmUyLWJiOTEtY2EzNWEwYmUzZGZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDE0NTIzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3MTdlMWNlY2MwZGY1ZTYwMWFjMTg5YzJiNDI0ZDI2OGY5YzgyMTA4MGU0NzhiODZiYzdmNjMwMWM4ZGM2MWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.WMqhOpXKAc_InQxPBGSvwjiW2qI8ku0w1JsLyqb2iiw)
Solution
Removed the extra spaces and the bracket is back inside the code;
![Screenshot 2024-10-15 at 09 38 01](https://private-user-images.githubusercontent.com/11915180/376489461-a631dd3b-0090-46bf-a1ae-27419d9cf6fe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4OTA2NTcsIm5iZiI6MTczOTg5MDM1NywicGF0aCI6Ii8xMTkxNTE4MC8zNzY0ODk0NjEtYTYzMWRkM2ItMDA5MC00NmJmLWExYWUtMjc0MTlkOWNmNmZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDE0NTIzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwZTcwYTI4YWRjZDIxNDgyMjZiZWFkNzdkYzc1NGNmY2E3YWExNTgxYTk3MjYyODMyM2Q3N2FhNjVkNmY4MGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.gdPQR0uwP7VmfantKAtC2_h4dTwhrcC6GdlR10nzp2Q)