From 03eb26f8e86ddbb5b4d6cac6ef40a89348e6cf4b Mon Sep 17 00:00:00 2001 From: Emma Indal Date: Thu, 2 Dec 2021 09:46:37 +0100 Subject: [PATCH] use markdown diff instead of two code blocks Signed-off-by: Emma Indal --- .changeset/search-moles-wash.md | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/.changeset/search-moles-wash.md b/.changeset/search-moles-wash.md index 0fbac1368f..57affab3b0 100644 --- a/.changeset/search-moles-wash.md +++ b/.changeset/search-moles-wash.md @@ -6,28 +6,15 @@ Search Modal now relies on the Search Context to access state and state setter. If you use the SidebarSearchModal as described in the [getting started documentation](https://backstage.io/docs/features/search/getting-started#using-the-search-modal), make sure to update your code with the SearchContextProvider. -Before: - -```tsx +```diff export const Root = ({ children }: PropsWithChildren<{}>) => ( - +- ++ ++ ++ ... ``` - -Now: - -```tsx -export const Root = ({ children }: PropsWithChildren<{}>) => ( - - - - - - - - ... -```