diff --git a/src/features/gifPicker/components/GifPickerHeader.tsx b/src/features/gifPicker/components/GifPickerHeader.tsx index af6bcebdd6..32955d6eee 100644 --- a/src/features/gifPicker/components/GifPickerHeader.tsx +++ b/src/features/gifPicker/components/GifPickerHeader.tsx @@ -12,12 +12,12 @@ import {IS_WEB} from '#/env' export function GifPickerHeader({ inputRef, onChangeText, - onClose, + onGoBack, onEscape, }: { inputRef: Ref onChangeText: (text: string) => void - onClose: () => void + onGoBack: () => void onEscape: () => void }) { const {t: l} = useLingui() @@ -40,8 +40,8 @@ export function GifPickerHeader({ size="small" color="secondary" shape="round" - onPress={onClose} - label={l`Close GIF dialog`}> + onPress={onGoBack} + label={l`Go back`}> )}