Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispader committed Nov 5, 2023
1 parent 0eb2fe6 commit b46f0b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/styles/ThemeStylesProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* eslint-disable react/jsx-props-no-spreading */
import React, {useMemo} from 'react';
import {stylesGenerator} from './styles';
import useTheme from './themes/useTheme';
import ThemeStylesContext from './ThemeStylesContext';
import {stylesGenerator} from './styles';

type ThemeStylesProviderProps = {
children: React.ReactNode;
Expand Down
4 changes: 2 additions & 2 deletions src/styles/themes/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import PropTypes from 'prop-types';
import React, {useMemo} from 'react';
import CONST from '@src/CONST';
import ThemeContext from './ThemeContext';
import useThemePreference from './useThemePreference';
import darkTheme from './default';
import lightTheme from './light';
import ThemeContext from './ThemeContext';
import useThemePreference from './useThemePreference';

const propTypes = {
/** Rendered child component */
Expand Down
2 changes: 1 addition & 1 deletion src/styles/themes/useThemePreference.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useState, useEffect, useContext} from 'react';
import {useContext, useEffect, useState} from 'react';
import {Appearance, ColorSchemeName} from 'react-native';
import {PreferredThemeContext} from '@components/OnyxProvider';
import CONST from '@src/CONST';
Expand Down

0 comments on commit b46f0b2

Please sign in to comment.