Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
CRON_SECRET: ${{ secrets.CRON_SECRET }}
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
exit 1

- name: Ping IndexNow (post-deploy)
if: steps.smoke.outcome != 'failure' && secrets.CRON_SECRET != ''
if: steps.smoke.outcome != 'failure' && env.CRON_SECRET != ''
run: |
code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 30 \
-H "Authorization: Bearer ${{ secrets.CRON_SECRET }}" \
Expand Down
2 changes: 1 addition & 1 deletion src/app/reports/[category]/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@ export default async function ReportPage({ params }: Props) {

{/* Body */}
<div className="mt-2">
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
<MDXRemote
source={report.content}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
components={MDX_COMPONENTS as any}
options={{ mdxOptions: { remarkPlugins: [remarkGfm] } }}
/>
Expand Down
1 change: 1 addition & 0 deletions src/components/time-series-chart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ export function TimeSeriesChart({
const has1y = !panelActive && lazySeries1y !== null && Object.keys(lazySeries1y).length > 0;

// When confirmed-empty data comes back, fall back to the nearest longer available range.
// eslint-disable-next-line react-hooks/set-state-in-effect
useEffect(() => {
if (panelActive) return;
if (range === "7d" && lazySeries7d !== null && !seriesHasData(lazySeries7d)) setRange("24h");
Expand Down
Loading