Skip to content

Commit

Permalink
chore: update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jonyw4 committed Nov 24, 2021
1 parent fd8424b commit 23ca86c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { AppProps } from "..";
import { UIProviderProps } from "..";
import { ThemeRepository } from "../../../data";
import { ThemeData } from "../theme";

export const adaptThemeRepositoryToThemeData = (
themeRepository: ThemeRepository
): AppProps['themeData'] => {
): UIProviderProps['themeData'] => {
return {
initialTheme: themeRepository.getTheme(),
callback: (theme) => themeRepository.changeTheme(theme),
Expand Down

0 comments on commit 23ca86c

Please sign in to comment.