Skip to content

Commit

Permalink
fix: add tooltip to make users aware of disabled favorited content
Browse files Browse the repository at this point in the history
  • Loading branch information
CK-7vn authored and PThorpe92 committed Dec 12, 2024
1 parent d7bfe48 commit 46e976c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Components/OperationalInsightsCharts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ const OperationalInsights = () => {
const metrics = data?.data;

return (
<div className="p-8">
<div className="p-6">
{error && <div>Error loading data</div>}
{!data || (isLoading && <div>Loading...</div>)}
{data && metrics && (
<>
<div className="p-4">
<div className="">
<button
className="button"
onClick={() => setResetCache(!resetCache)}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Pages/OperationalInsights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import OperationalInsights from '@/Components/OperationalInsightsCharts';
export default function OperationalInsightsPage() {
return (
<div>
<div className="px-8 pb-4 mt-4">
<div className="px-8 pb-4 mt-8">
<h1>Operational Insights</h1>
<OperationalInsights />
</div>
Expand Down

0 comments on commit 46e976c

Please sign in to comment.