From a96110eb36b9ffb76e82d1b3703d1021358971ef Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Fri, 15 Sep 2023 12:31:48 +0200 Subject: [PATCH] fix: point to `useUiFlag` instead of `useUiFlags` (#4748) I was a little confused because I couldn't find `useUiFlags` in the codebase. --- frontend/src/interfaces/uiConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index 2be6feb114..a855b8bb52 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -8,7 +8,7 @@ export interface IUiConfig { * @deprecated `useUiFlags` can be used instead * @example * ```ts - * const yourFlag = useUiFlags("yourFlag") + * const yourFlag = useUiFlag("yourFlag") * ``` */ flags: UiFlags;