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

feat(components): add module interaction page empty state ui #490

Merged
merged 4 commits into from
Aug 28, 2023

Conversation

jennieramida
Copy link
Collaborator

Describe your changes

Demo Link

@vercel
Copy link

vercel bot commented Aug 22, 2023

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

Name Status Preview Comments Updated (UTC)
celatone-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 3:42am
initia-celatone-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 3:42am
osmosis-celatone-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 3:42am
6 Ignored Deployments
Name Status Preview Comments Updated (UTC)
neutron-celatone-frontend ⬜️ Ignored (Inspect) Visit Preview Aug 28, 2023 3:42am
osmosis-celatone-frontend ⬜️ Ignored (Inspect) Visit Preview Aug 28, 2023 3:42am
sei-celatone-frontend ⬜️ Ignored (Inspect) Visit Preview Aug 28, 2023 3:42am
sei-testnet-celatone-frontend ⬜️ Ignored (Inspect) Visit Preview Aug 28, 2023 3:42am
stargaze-celatone-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Aug 28, 2023 3:42am
terra-celatone-frontend ⬜️ Ignored (Inspect) Visit Preview Aug 28, 2023 3:42am

Comment on lines 13 to 15
export const viewModuleFormKey = MessageTabs.VIEW_MODULE as "View";
export const executeModuleFormKey = MessageTabs.EXECUTE_MODULE as "Execute";

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

onTabChange,
}: InteractionTypeSwitchProps) => {
const tabRefs = useRef<(HTMLDivElement | null)[]>([]);
const activeIndex = currentTab ? tabs.indexOf(currentTab) : -1;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use 0 instead of -1

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.

None yet

3 participants