Unverified Commit cf9da5f6 authored by Guilherme Gazzo's avatar Guilherme Gazzo
Browse files

fix overflow

parent c928ed74
......@@ -12,7 +12,7 @@ import { useBlockContext } from './hooks';
const convertOptions = (options, parser) => options.map(({ text, value }) => [value, parser(text)]);
export const Overflow = ({ context, options, parser, element }) => {
export const Overflow = ({ context, options, parser, ...element }) => {
const [{ loading }, action] = useBlockContext(element, context);
const handleSelection = ([value]) => action({ target: { value } });
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment