Skip to content

Commit e0c9bc7

Browse files
committed
neither highlight (JS/CS) is perfect
1 parent 79f64ad commit e0c9bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/search/tutorial-csharp-search-query-integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Call the Azure Function in the React client at `\client\src\pages\Search\Search.
5252

5353
The Suggest function API is called in the React app at `\client\src\components\SearchBar\SearchBar.jsx` as part of the [Material UI's Autocomplete component](https://mui.com/material-ui/react-autocomplete/). This component uses the input text to search for authors and books that match the input text then displays those possible matches at selectable items in the drop-down list.
5454

55-
:::code language="javascript" source="~/azure-search-static-web-app/client/src/components/SearchBar/SearchBar.jsx" :::
55+
:::code language="csharp" source="~/azure-search-static-web-app/client/src/components/SearchBar/SearchBar.jsx" :::
5656

5757
## Azure Function: Get specific document
5858

@@ -64,7 +64,7 @@ The [Document Lookup API](https://github.com/Azure-Samples/azure-search-static-w
6464

6565
This function API is called in the React app at `\client\src\pages\Details\Details.jsx` as part of component initialization:
6666

67-
:::code language="javascript" source="~/azure-search-static-web-app/client/src/pages/Details/Details.jsx" :::
67+
:::code language="csharp" source="~/azure-search-static-web-app/client/src/pages/Details/Details.jsx" :::
6868

6969
## C# models to support function app
7070

0 commit comments

Comments
 (0)