mirror of
https://github.com/hexastack/hexabot
synced 2024-12-02 09:05:06 +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,
|
...menuOptions,
|
||||||
...contentOptions,
|
...contentOptions,
|
||||||
];
|
];
|
||||||
const isOptionsReady = options.find((e) => e.id === value);
|
const isOptionsReady = !value || options.find((e) => e.id === value);
|
||||||
|
|
||||||
if (!isOptionsReady) {
|
if (!isOptionsReady) {
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user