Closed Nebulis closed 3 years ago
const [block, showBlock] = useState(blocks[0].trigger);
block is inferred to a string. Let's create a union of all possible values
block
block
is inferred to a string. Let's create a union of all possible values