Skip to content
Snippets Groups Projects

fix: stable version of mobile

Merged GOEPP THOMAS requested to merge feature/130-fix-for-stable-version into develop
Compare and
7 files
+ 19
65
Preferences
Compare changes
Files
7
import React from "react";
import { FlatList, View, Text, StyleSheet, Image } from "react-native";
import UserModel from "../../../models/UserModel";
import {User} from "../../../models/User";
interface Props {
users: UserModel[];
users: User[];
maxScore: number;
}
export default function EndQuizListPlayer({ users, maxScore }: Props) {
const renderUser = ({ item, index }: { item: UserModel; index: number }) => (
const renderUser = ({ item, index }: { item: User; index: number }) => (
<View style={[styles.userContainer, index === 0 && styles.firstPlace]}>
<Image
source={require("../../../assets/ProfilBaseImage.png")} // Replace with actual profile picture if available