fix build

This commit is contained in:
Violet Caulfield
2025-01-26 06:49:27 -06:00
parent 4c59278fcb
commit 5a34c114ae
3 changed files with 1 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ import { usePlayerContext } from "../../player/provider";
import { RunTimeTicks } from "../Global/helpers/time-codes";
import Track from "../Global/components/track";
import { useItemTracks } from "../../api/queries/tracks";
import { SafeAreaView, useSafeAreaFrame } from "react-native-safe-area-context";
import { useSafeAreaFrame } from "react-native-safe-area-context";
import FavoriteButton from "../Global/components/favorite-button";
import { useEffect } from "react";
import BlurhashedImage from "../Global/components/blurhashed-image";

View File

@@ -42,8 +42,6 @@ export function ProvidedHome({
<YStack alignContent='flex-start'>
<XStack margin={"$2"}>
<H3>{`Hi, ${Client.user!.name}`}</H3>
<YStack />
<Avatar maxHeight={30} itemId={Client.user!.id!} />
</XStack>
<Separator marginVertical={"$2"} />

View File

@@ -1,6 +1,5 @@
import { XStack } from "@tamagui/stacks";
import React from "react";
import Avatar from "../../../components/Global/helpers/avatar";
import { Text } from "../../../components/Global/helpers/text";
import Icon from "../../../components/Global/helpers/icon";
import Client from "../../../api/client";
@@ -12,7 +11,6 @@ export default function AccountDetails(): React.JSX.Element {
<XStack alignItems="center">
<Icon name="account-music-outline" />
<Text>{Client.user!.name}</Text>
<Avatar itemId={Client.user!.id} circular />
</XStack>
)
}