Răsfoiți Sursa

added comment

Mao 4 ani în urmă
părinte
comite
5ee4061703

+ 1 - 1
packages/app/src/components/Navbar/SubNavButtons.tsx

@@ -79,7 +79,7 @@ const SubNavButtons: FC<SubNavButtonsProps> = (props: SubNavButtonsProps) => {
  */
 const SubNavButtonsUnstatedWrapper = withUnstatedContainers(SubNavButtons, [AppContainer, NavigationContainer]);
 
-// wrapping tsx component returned by withUnstatedContainers to avoid type error when using in other tsx components.
+// wrapping tsx component returned by withUnstatedContainers to avoid type error when this component used in other tsx components.
 const SubNavButtonsWrapper = (props) => {
   return <SubNavButtonsUnstatedWrapper {...props}></SubNavButtonsUnstatedWrapper>;
 };

+ 1 - 1
packages/app/src/components/SearchPage/SearchResultContentSubNavigation.tsx

@@ -48,7 +48,7 @@ const SearchResultContentSubNavigation: FC<Props> = (props : Props) => {
  */
 const SearchResultContentSubNavigationUnstatedWrapper = withUnstatedContainers(SearchResultContentSubNavigation, [AppContainer]);
 
-// wrapping tsx component returned by withUnstatedContainers to avoid type error when using in other tsx components.
+// wrapping tsx component returned by withUnstatedContainers to avoid type error when this component used in other tsx components.
 const SearchResultContentSubNavigationWrapper = (props) => {
   return <SearchResultContentSubNavigationUnstatedWrapper {...props}></SearchResultContentSubNavigationUnstatedWrapper>;
 };