Refactor DEFAULT_NUDGES type annotation

Explicitly annotates DEFAULT_NUDGES as Nudge[] for improved type safety and clarity.
This commit is contained in:
Edwin Jose 2025-10-06 19:53:36 -04:00
parent d8e7af9799
commit 87da3552a4

View file

@ -6,8 +6,7 @@ import {
type Nudge = string;
const DEFAULT_NUDGES = [
];
const DEFAULT_NUDGES: Nudge[] = [];
export const useGetNudgesQuery = (
chatId?: string | null,