From fa6e892b16e136db85b7bf9521a8711fd631932f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Cie=C5=9Blik?= Date: Sun, 21 Jun 2026 06:30:26 +0200 Subject: [PATCH] Usun tekst renderowany jako JSX w ThemeProvider, fix email Google Pay, fix overflow emaila w ProfileView --- src/context/ThemeContext.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/context/ThemeContext.jsx b/src/context/ThemeContext.jsx index 3da0771..8992e12 100644 --- a/src/context/ThemeContext.jsx +++ b/src/context/ThemeContext.jsx @@ -31,10 +31,7 @@ export const ThemeProvider = ({ children }) => { // Dzięki temu możemy korzystać z tych wartości w dowolnym miejscu w aplikacji React za pomocą hooka useTheme. return ( - {children} // wszystko co jest opakowane w ThemeProvider będzie miało dostęp do wartości theme i toggleTheme z ThemeContext - // children to specjalna props, która reprezentuje wszystkie elementy, które są opakowane w ThemeProvider - // korzystane jak rosyjska matrioszka, ale wasal mojego wasala nie jest moim wasalem - , więc nie mogę przekazać propsów do dzieci, które są opakowane w ThemeProvider, dlatego muszę użyć kontekstu React + {children} ); };