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

Refactor dashboard panels to reuse components. #335

Merged
merged 2 commits into from
Jul 17, 2022

Conversation

revam
Copy link
Member

@revam revam commented Jul 17, 2022

No description provided.

@revam revam force-pushed the refactor-dashboard-panels branch from 18cb606 to ef1db2b Compare July 17, 2022 15:32
@revam revam force-pushed the refactor-dashboard-panels branch from ef1db2b to 68bfef7 Compare July 17, 2022 18:08
import React from 'react';
import cx from 'classnames';

const DashboardTitleToggle = ({ mainTitle, secondaryTitle, secondaryActive, setSecondaryActive }: { mainTitle: string; secondaryTitle: string; secondaryActive: boolean; setSecondaryActive(value: boolean): void }) => (<div>
Copy link
Member

Choose a reason for hiding this comment

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

ShokoPanelTabsTitle would probably make more sense as other pages have it too, like utilities, but we can rename later

@hidden4003 hidden4003 merged commit 40dd458 into ShokoAnime:master Jul 17, 2022
@revam revam deleted the refactor-dashboard-panels branch July 17, 2022 18:29
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