fix: add new postback infinite Skeleton loading

This commit is contained in:
yassinedorbozgithub 2024-11-27 14:53:25 +01:00
parent 8ac62d796f
commit 3b72ad8ded

View File

@ -183,7 +183,7 @@ export const PostbackInput = ({ value, onChange }: PostbackInputProps) => {
...menuOptions,
...contentOptions,
];
const isOptionsReady = options.find((e) => e.id === value);
const isOptionsReady = !value || options.find((e) => e.id === value);
if (!isOptionsReady) {
return (