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

Replace 'component' with 'template' in integrations #21

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

rotimi-best
Copy link

This PR is to address this issue #5.

The code snippets in the integrations is wrong and causes this error error when run.

TypeError: Cannot read properties of undefined (reading 'render')
    at Module.render (project_name/node_modules/svelte-email/render.js:10:14)
    at GET (project_name/src/routes/api/invite/teacher/+server.js:22:43)
    at Module.render_endpoint (project_name/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js:49:24)

Instead of passing component into render, rather I have replaced it with template.

@vercel
Copy link

vercel bot commented Aug 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-email ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 21, 2023 0:10am

@Brandon-Ritchie
Copy link

This looks like a duplicate of This PR that is already open

@rotimi-best
Copy link
Author

This looks like a duplicate of This PR that is already open

Thanks for pointing that out. Curious why it hasn't been merged in.

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.

2 participants