removing unused variables and imports
continuous-integration/drone/push Build is passing Details

pull/23/head
Rémi REGNAULT 1 year ago
parent ff4f27d1b7
commit 39484c90e9

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import {StyleSheet, Text, TextInput, View, Image, FlatList} from 'react-native'; import {StyleSheet, Text, View, Image} from 'react-native';
type TitleProps = { type TitleProps = {
title: string title: string

@ -1,8 +1,6 @@
import React, { useContext } from 'react'; import React, { useContext } from 'react';
import {StyleSheet, Text, TextInput, View, Image, FlatList} from 'react-native'; import { StyleSheet, Image } from 'react-native';
import ValidateButton from './ValidateButton'; import { MultipleSelectList } from 'react-native-dropdown-select-list'
import HeaderFlatList from './HeaderFlatList';
import { MultipleSelectList, SelectList } from 'react-native-dropdown-select-list'
import ColorContext from '../theme/ColorContext'; import ColorContext from '../theme/ColorContext';
type ListProps = { type ListProps = {
@ -12,7 +10,7 @@ type ListProps = {
export default function ListSelect(props: ListProps) { export default function ListSelect(props: ListProps) {
const [selected, setSelected] = React.useState([]); const [selected, setSelected] = React.useState([]);
const { colors, toggleColors } = useContext(ColorContext); const colors = useContext(ColorContext).colors;
const styles = StyleSheet.create({ const styles = StyleSheet.create({
titleBar: { titleBar: {

Loading…
Cancel
Save