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

ref(tsc): convert adminQuotas to FC #83266

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

Conversation

michellewzhang
Copy link
Member

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 10, 2025
Comment on lines 26 to 27
const since = new Date().getTime() / 1000 - 3600 * 24 * 7;
const resolution = '1h';
Copy link
Member Author

Choose a reason for hiding this comment

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

it didn't seem like these needed to be put into a state?

@michellewzhang michellewzhang marked this pull request as ready for review January 10, 2025 21:27
@michellewzhang michellewzhang requested a review from a team January 10, 2025 21:27
staleTime: 0,
});
const [since] = useState(() => new Date().getTime() / 1000 - 3600 * 24 * 7)
const resolution = '1h';
Copy link
Member Author

@michellewzhang michellewzhang Jan 10, 2025

Choose a reason for hiding this comment

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

@scttcper same for resolution?

Suggested change
const resolution = '1h';
const [resolution] = useState(() => '1h');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants