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