|
|
|
|
Christianity Etc › Re: What Happens If You Commit Suicide by qtguru(m): 10:09am On Jan 22, 2023 |
they usually die |
Family › Re: Am I Being Manipulated? Is Her Anger Justified? by qtguru(m): 11:06pm On Jan 21, 2023 |
Slime7: Hi guys, I need your advice on this. It is causing issues in my 2 years relationship. I came to Lagos in 2018 after my NYSC. Prior to that, I had plans for my older sister to come stay with me, considering how difficult things were. Note that my married eldest brother was in Lagos before then. I understand that maybe he needs his privacy, but he didn't help in any way (he didn't have to). When I got the apartment, I met my girlfriend while she was serving in Lagos. My older sister has yet to move in with me, but I have mentioned to her not once but twice that she will soon come and live with me. I will also like to mention that my elder sister was living with her boyfriend before I came to Lagos. This doesn't seem right to me or to her. She moved in, and we were living together peacefully. Along the way, she broke up with her boyfriend. About 6 months later, she got into another relationship. The man seems interested in marrying her. And they were making plans for settling down. Unfortunately, she got pregnant out of wedlock for the man. She had to move in with the man. Now this is where the issues begin. After a few months (after her childbirth), they always have issues. They go on and off. Two times they had issues; she carried her bag and came to my place. Two times it happened, and she stayed with me for not more than two months put together. This didn't go well with my girlfriend. She complained that my sister is always in the picture, and she doesn't like that. The third time, the man abused my sister, and he beat her up. I went to the man's house with my "married eldest brother." We fought with the man and threatened to arrest him. He pleaded, plus the neighbors and the landlord too. That night, we took my sister away from him. My sister chose to stay at my place until she gets an apartment for herself and her kid.
This really annoyed my girlfriend. She always says things like, "My family does not respect me." That's why my sister can move in to my house knowing that I am in a relationship. "Why does she like to stay with me and not my brother?" "Why do I have to always be the one to bear the burden?" Note that my sister works, and she can take care of herself and her kid. She just needed a place to stay until she got her own apartment.
She feared that my sister could just move in with her bags when we get married, which I have assured her is not possible. She claims she likes her space and all. She claims she doesn't like the "on and off" as sometimes she may want to spend a "lone" time with me. Spend weekends... and this won't be possible when my sister is around. She claims that she has never seen a scenario where an older sister with a kid is leaving with younger brother. She always give instances where she has never seen guys in relationships allow their older sister to come stay with them. She claimed that sometimes I should "man up" and say NO to her. Is she overreacting? What did I do wrong in all of this? Am I being manipulated? Is her anger justified? N.B My sister has gotten a place for herself and has moved out. Would it be a problem if it were her sister ? |
Celebrities › Re: Court Bars Korra Obidi & Ex-Husband From Posting Their Children's Visuals Online by qtguru(m): 7:12am On Jan 21, 2023 |
What did this guy see in this woman ? |
|
|
Programming › Re: Why Are Naija "Learn To Code People" Like This by qtguru(m): 8:19pm On Jan 20, 2023 |
They could be freelancers. |
Programming › Re: Algorithm Study Plan by qtguru(op): 12:41pm On Jan 20, 2023 |
deraCoder: Thanks… Don't have to study all…you can learn the ones that are applicable to what you are doing as a dev Agreed most might not be needed until you get to that stage. |
Programming › Re: Algorithm Study Plan by qtguru(op): 7:54pm On Jan 19, 2023 |
OlawaleBammie: Baba good evening sir
Pls I need an advice from u.
I just started learning software development sir, and my aim is this.. By the end of my study I want to move abroad (Canada) on a study route(degree in software engineering as well), pls is it possible for me to get an internship program over there while I study?? I can't say for sure, when I asked someone; their answer was yes, I guess it depends on the province |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 4:58pm On Jan 19, 2023 |
Devdevdev: The videos is enough. Thank you so much You have a nice voice. Appreciate  |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 4:11pm On Jan 19, 2023 |
@devdevdev how do I send the code, or is the video enough ? |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 3:46pm On Jan 19, 2023 |
truthCoder2: Please what OS are you using?
I can see Mac OS-like buttons and a windows-lke tray KUbuntu KDE Plasma but i downloaded a style called breeze, it has that mac-os feel |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 3:27pm On Jan 19, 2023 |
|
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 3:14pm On Jan 19, 2023 |
Fixed recording video to explain now |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 3:06pm On Jan 19, 2023 |
I don't understand the logic behind your code,
If you want to add to Cart, why not create an empty array, and only add when a payload matches, I will do it and share a video soon. |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 2:58pm On Jan 19, 2023 |
truthCoder: cartItem.amount was undefined because it was not existing at initial state.
It was not existent because cartItems didn’t have an amount parameter in the objects.
You also called {amount} instead of {product.amount}. This was rightly pointed out by GIM above.
Defining amount in your objects would remove the need for ||0 Yeah that's right it's undefined |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 2:37pm On Jan 19, 2023 |
WIP |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 2:36pm On Jan 19, 2023 |
@devdevdev
I noticed I made some mistake in my comments, I used combinedReducer, you used createSlice, createSlice handle the type and action on it's on, so the name + reducer function is triggered, look the screenshot your code works.
The payload is logged to the console, so the next part is to experiment with the Cart component and see if it reflects there
|
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 1:45pm On Jan 19, 2023 |
|
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 1:43pm On Jan 19, 2023 |
Did you push it to Github ? this can be solved faster if shared. |
Programming › Re: Algorithm Study Plan by qtguru(op): 1:32pm On Jan 19, 2023 |
sqlPAIN: if you really want to expand your knowledge or study computer science as you said,then take jamb this year,enter school and go get a CS degree. Stop deceiving ya sef oga  No comment |
Programming › Re: Algorithm Study Plan by qtguru(op): 10:43am On Jan 19, 2023 |
sqlPAIN: All these just to get a high paying job abi?  No it's about studying Computer Science, if you are interested in expanding your knowledge |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 6:41am On Jan 19, 2023*. Modified: 7:49am On Jan 19, 2023 |
truthCoder: Share the code repository
GitHub was invented for this reason. Exactly taking too much time to fix a bug like this, we could have ironed it out with github. |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 5:58am On Jan 19, 2023 |
Devdevdev: Sent This won't work, I don't have the package.json, you were supposed to send the whole project so I can install the modules and run on my end. |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 10:20pm On Jan 18, 2023 |
Devdevdev: @GreatIgboMan, do you have an email address? I'll mail the code to you and qtguru now. OKEOWOADEREMI AT GMAIL DOT COM |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 10:14pm On Jan 18, 2023 |
Devdevdev: I tried implementing your instruction. Still didn't work. Put a debugger and see if you reach the reducer, send the project to my mail, let me run it and fix. coding by looking at image is long thing. |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 9:34pm On Jan 18, 2023 |
Your code is wrong. Fix those issues I pointed out, A reducer should always return a new state always |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 9:33pm On Jan 18, 2023 |
2. your dispatch is meant to take an object , you also didn't change that too |
Programming › Re: Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures) by qtguru(m): 9:33pm On Jan 18, 2023 |
Devdevdev: I already did. Still same issue. 1. You didn't refactor the reducer to return a new state |