diff --git a/docs/recipes/Redux.md b/docs/recipes/Redux.md index 923214c1..c62acad6 100644 --- a/docs/recipes/Redux.md +++ b/docs/recipes/Redux.md @@ -139,7 +139,8 @@ import React, { FC } from "react"; import { View, ViewStyle } from "react-native"; import { Button, Text } from "app/components"; import { AppStackScreenProps } from "../navigators"; -import { colors } from "../theme"; +import type { ThemedStyle } from "app/theme"; +import { useAppTheme } from "app/utils/useAppTheme"; import { useSafeAreaInsetsStyle } from "../utils/useSafeAreaInsetsStyle"; import { useAppDispatch, useAppSelector } from "app/store/store"; import { decrement, increment } from "app/store/counterSlice"; @@ -147,11 +148,12 @@ import { decrement, increment } from "app/store/counterSlice"; interface WelcomeScreenProps extends AppStackScreenProps<"Welcome"> {} export const WelcomeScreen: FC = () => { + const { themed } = useAppTheme(); const $containerInsets = useSafeAreaInsetsStyle(["top", "bottom"]); const count = useAppSelector((state) => state.counter.value); const dispatch = useAppDispatch(); return ( - +