You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read configuration in grant-explorer/src/index.tsx using already imported getConfig() and make it available in components via a new ConfigProvider context.
Remove imports of getConfig from ProjectCard.tsx, ProjectBanner.tsx, etc.
Update tests to addConfigProvider and remove mocks of common/src/config.
The text was updated successfully, but these errors were encountered:
Overview
Reduce unnecessary complexity, avoid requiring mocks.
Details
grant-explorer/src/index.tsx
using already importedgetConfig()
and make it available in components via a newConfigProvider
context.getConfig
fromProjectCard.tsx
,ProjectBanner.tsx
, etc.ConfigProvider
and remove mocks ofcommon/src/config
.The text was updated successfully, but these errors were encountered: