karlhadwen / netflix

Subscribe to my YouTube channel: https://bit.ly/CognitiveSurge - Building Netflix Using React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attempted import error: 'Signin' is not exported from './pages'.

mspotatogirl opened this issue · comments

import React from 'react';
import { BrowserRouter as Router,Route } from 'react-router-dom';
import {Home, Browse,Signin,Signup} from './pages';
import * as ROUTES from './constants/routes';

export default function App() {
return (



<Route exact path ={ROUTES.HOME}>

);
}

It shows following error:

Failed to compile.

./src/app.js
Attempted import error: 'Signin' is not exported from './pages'.

In /src/pages/ path, you should find a file signin.js.
If you can't find that file, please create the file and you can get the code from here: https://github.com/karlhadwen/netflix/tree/master/src/pages

ty for helping out!