Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steps, code and images to make this project work #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

this-is-id
Copy link

Thanks to this pull request, I used code from here, spent some time fixing it, and it worked: #6

Follow these steps if you use code from my pull request:

  1. In firebase.js add your project details.

  2. Create a cloud firestore database, and change the rules.
    img22

  3. Go to firebase storage, and change the rules.
    Img

  4. Use the package version provided in package.json, using the latest package version without making changes to code will most likely not work.

  5. Don't add ternary condition shown in tutorial at 6:40:25, i.e. hide content if there are no articles. I'm not sure why is it even needed at first place.

@this-is-id this-is-id changed the title Steps, code and to make this project work Steps, code and images to make this project work Feb 26, 2022
export default Login;
const mapStateToProps = (state) => {
return {
user: state.userState.user,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ITS 'useState' NOT 'userState'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants