Popravil React uvoz in dodal manjkajoče tipske definicije in podatke
Build and Deploy / build-and-deploy (push) Successful in 57s
Details
Build and Deploy / build-and-deploy (push) Successful in 57s
Details
This commit is contained in:
parent
9b3a5e0895
commit
4d8e99935c
|
|
@ -1,4 +1,3 @@
|
|||
import React from 'react';
|
||||
import { restaurants } from '../data/mockData';
|
||||
|
||||
interface FavoriteRestaurantsProps {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import React from 'react';
|
||||
|
||||
interface ProfileHeaderProps {
|
||||
userName: string;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import React from 'react';
|
||||
|
||||
interface ProfileNavBarProps {
|
||||
onSettingsClick: () => void;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import React from 'react';
|
||||
|
||||
interface ProfileTabsProps {
|
||||
activeTab: 'favorites' | 'reservations' | 'reviews';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import React from 'react';
|
||||
|
||||
interface UserReservationsProps {
|
||||
onDetailsClick: (id: number) => void;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import React from 'react';
|
||||
|
||||
const UserReviews = () => {
|
||||
// Demo podatki za ocene
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useState, useContext } from 'react';
|
||||
import { useState, useContext } from 'react';
|
||||
import { NavigationContext } from '../App';
|
||||
import ProfileNavBar from '../components/ProfileNavBar';
|
||||
import ProfileHeader from '../components/ProfileHeader';
|
||||
|
|
|
|||
Loading…
Reference in New Issue