Skip to content

Patreon clone Username problem #313

@SOURAVJENA2003

Description

@SOURAVJENA2003

Okay , i have read the files and sees, there is an issue and the issue is when you update your username from the dashboard , the username gets updated and saved in the database, so even after the username is changed the list of supporters should show because the user is same and just updated the username, but after changing the username , the updated username is not passed for fetching the data because the same old username is passed to fetchPayment function in the userSection part .

const Username = async ({ params }) => {

const checkUser = async () => {

return (
<>

</>
)
}

Here you can see, the username is passed as params.username even after the username is updated and stored in the database so the fetchPayment function doesn't get the updated username.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions