Comments (16)
haha i knew it actually i am thinking to add email in there profile where visitor can directly email them if they want
ohh I understand, that's actually a good idea. Good luck on the new project.
from mysocials.
haha i knew it actually i am thinking to add email in there profile where visitor can directly email them if they want
from mysocials.
i am currently working on https://url-shrtner.vercel.app after it i will try but its not an bug its an upcoming feature 😁
from mysocials.
btw removing the email from NextResponse in api files doesn't seem to be working. I would be really happy if you can tell me an other way to fix it or I think I will be waiting for the update 🙌🙌
from mysocials.
actually i checked it, the schema has email property thats why it is returning it but if you really wanto remove the email return everything except email in app/api/page/get/route.js
like its returning return NextResponse.json({ data }, { status: 200 });
change it to {data.name, data.bio, ....continue}
then it will not return email
from mysocials.
Hmm, when I do that it returns this error:
TypeError: Cannot read properties of undefined (reading 'image')
app(page)_components\UserSocials.jsx (42:44) @ image
(btw data.name ... gave syntax error, I did name, bio ...)
from mysocials.
and when I remove setImage(data.data.image);
then it gives same error for name in here setName(data.data.name);
from mysocials.
Hey bro, I also fixed that issue by removing the email part from the data in the API.
How did you host the project on Vercel? When I try to host it, the API doesn't work at all.
from mysocials.
I still couldn't figure it out, searched on Google aswell but nothing familiar comes up. 😥
from mysocials.
did you added the env variables in vercel project settings? make sure to redeploy after adding it
from mysocials.
Yes I added them when building, also redeployed the project now. The API still doesn't work, user profiles and dashboard doesn't load. 🤔
from mysocials.
can i get the repo url?
from mysocials.
Hey bro really sorry for the late reply. I didn't had access to my pc.
Instead of the repo url, can you just tell me how you published this project on vercel? I did add my variables too but it doesn't work. I can access the site but the database can't be reached. (so user pages doesn't load)
from mysocials.
i just imported this repository on vercel dashboard thats it and redeploy after adding env variables
from mysocials.
I did the exact same, but my api/get doesn't load. I can see this on chrome dev tools
An error occurred with your deployment
FUNCTION_INVOCATION_TIMEOUT
from mysocials.
I searched for it online but nothing solved the problem 🤔
from mysocials.
Related Issues (6)
- Username already exists
- Username is already in use HOT 3
- Few questions HOT 24
- New feature consultation HOT 8
- Add Support for twitter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysocials.