Skip to content

Commit

Permalink
fix: fix unused import lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
salimtb committed Jul 2, 2024
1 parent 232a594 commit 8d87096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// Third party dependencies.
import { StyleSheet } from 'react-native';

// External dependencies.
import { Theme } from '../../../../util/theme/models';
import { fontStyles } from '../../../../styles/common';

/**
* Style sheet function for AggregatedPercentage component.
*
Expand All @@ -13,16 +9,12 @@ import { fontStyles } from '../../../../styles/common';
* @param params.vars Inputs that the style sheet depends on.
* @returns StyleSheet object.
*/
const styleSheet = (params: { theme: Theme }) => {
const { theme } = params;
const { colors } = theme;

return StyleSheet.create({
const styleSheet = () =>
StyleSheet.create({
wrapper: {
flexDirection: 'row',
alignItems: 'center',
},
});
};

export default styleSheet;
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import Text, {
TextVariant,
} from '../../../../component-library/components/Texts/Text';
import { View } from 'react-native';
import styleSheet from './PercentageChange.styles';
import { useStyles } from '../../../hooks';

const PercentageChange = ({ value }: { value: number | null | undefined }) => {
const percentageColorText =
Expand Down

0 comments on commit 8d87096

Please sign in to comment.