From 14a46993513a20630999c63f84b97e7d846c2ec6 Mon Sep 17 00:00:00 2001 From: alguilhot Date: Sat, 15 Oct 2022 18:39:59 +0200 Subject: [PATCH] CLEANUP: Clean des imports dans les components --- bob_party/src/components/BotBar.tsx | 2 +- bob_party/src/components/Element.tsx | 1 + bob_party/src/components/TopBar.tsx | 2 +- bob_party/src/components/skinAvatar.tsx | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bob_party/src/components/BotBar.tsx b/bob_party/src/components/BotBar.tsx index f42e1d7..4f62f3e 100644 --- a/bob_party/src/components/BotBar.tsx +++ b/bob_party/src/components/BotBar.tsx @@ -1,5 +1,5 @@ import { FC, ReactNode } from "react" -import { Pressable, Image, ImageStyle, Text, View, Alert, ImageSourcePropType, TextStyle } from "react-native" +import { Pressable, Image, View} from "react-native" import React from "react" import styles from './style/BotBar.style'; diff --git a/bob_party/src/components/Element.tsx b/bob_party/src/components/Element.tsx index 1b0f2b4..7b30415 100644 --- a/bob_party/src/components/Element.tsx +++ b/bob_party/src/components/Element.tsx @@ -37,6 +37,7 @@ FC<{element: any, styleImage: ImageStyle, styleTitle : TextStyle,nav: any}> = ) } + console.log('Type invalide pour ce composant') return( Type invalide pour ce composant diff --git a/bob_party/src/components/TopBar.tsx b/bob_party/src/components/TopBar.tsx index fbdd0b5..d4c033b 100644 --- a/bob_party/src/components/TopBar.tsx +++ b/bob_party/src/components/TopBar.tsx @@ -1,5 +1,5 @@ import { FC, ReactNode } from "react" -import { Pressable, Image, ImageStyle, Text, View, Alert, ImageSourcePropType, TextStyle, Settings } from "react-native" +import { Pressable, Image, Text, View} from "react-native" import { Skin } from "../core/Skin" import React from "react" import { SkinComponent } from "./skinAvatar" diff --git a/bob_party/src/components/skinAvatar.tsx b/bob_party/src/components/skinAvatar.tsx index fb6ce0d..7d8d759 100644 --- a/bob_party/src/components/skinAvatar.tsx +++ b/bob_party/src/components/skinAvatar.tsx @@ -1,5 +1,5 @@ -import { FC, ReactNode } from "react" -import { Button, Image, ImageStyle, Text, View } from "react-native" +import { FC} from "react" +import {Image, ImageStyle, View } from "react-native" import { Skin } from "../core/Skin" import React from "react"