mirror of
https://github.com/hexastack/hexabot
synced 2024-12-02 00:54:56 +00:00
fix: add new postback infinite Skeleton loading
This commit is contained in:
parent
8ac62d796f
commit
3b72ad8ded
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user