Fix SuperJSON import to use default export#623
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: jthrilly <1387940+jthrilly@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot - please check for any other imports in the format |
I've checked the entire codebase and confirmed there are no other instances of
The only named imports from superjson are for All imports are now correct and no further changes are needed. |
There was a problem hiding this comment.
Pull request overview
Updates the SuperJSON import in the dashboard protocols table client component to use the library’s default export, aligning with existing SuperJSON usage elsewhere in the repo and preventing import/runtime errors.
Changes:
- Replace
import { SuperJSON } from 'superjson'withimport SuperJSON from 'superjson'inProtocolsTableClient.tsx.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
app/dashboard/_components/ProtocolsTable/ProtocolsTableClient.tsxto use default import instead of named import✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.