Front: Pretty and Lint (#225)

This commit is contained in:
Arthur Jamet
2023-06-17 07:01:23 +01:00
committed by GitHub
parent 399c7d0d9e
commit c5d465df97
94 changed files with 3627 additions and 3089 deletions
+7 -8
View File
@@ -1,7 +1,6 @@
import React from "react";
import Card, { CardBorderRadius } from "./Card";
import { VStack, Text, Image } from "native-base";
import API from "../API";
import React from 'react';
import Card, { CardBorderRadius } from './Card';
import { VStack, Text, Image } from 'native-base';
type ArtistCardProps = {
image: string;
@@ -11,7 +10,7 @@ type ArtistCardProps = {
};
const ArtistCard = (props: ArtistCardProps) => {
const { image, name, id } = props;
const { image, name } = props;
return (
<Card shadow={3} onPress={props.onPress}>
@@ -32,10 +31,10 @@ const ArtistCard = (props: ArtistCardProps) => {
};
ArtistCard.defaultProps = {
image: "https://picsum.photos/200",
name: "Artist",
image: 'https://picsum.photos/200',
name: 'Artist',
id: 0,
onPress: () => { },
onPress: () => {},
};
export default ArtistCard;