removed ununsed hook

This commit is contained in:
Anton Tranelis 2024-07-31 16:59:44 +02:00
parent 13f016ea16
commit ef74d60bfb

View File

@ -21,8 +21,6 @@ export const TabsView = ({ attestations, userType, item, offers, needs, relation
const items = useItems(); const items = useItems();
const assetsApi = useAssetApi(); const assetsApi = useAssetApi();
const { user } = useAuth();
const getUserProfile = (id: string) => { const getUserProfile = (id: string) => {
return items.find(i => i.user_created.id === id && i.layer?.itemType.name === userType) return items.find(i => i.user_created.id === id && i.layer?.itemType.name === userType)
} }