tsc
This commit is contained in:
@@ -93,7 +93,7 @@ function DocumentEditor(props: Props, ref: React.RefObject<any>) {
|
||||
} = props;
|
||||
const can = usePolicy(document);
|
||||
|
||||
const iconColor = document.color ?? last(colorPalette);
|
||||
const iconColor = document.color ?? (last(colorPalette) as string);
|
||||
const childRef = React.useRef<HTMLDivElement>(null);
|
||||
const focusAtStart = React.useCallback(() => {
|
||||
if (ref.current) {
|
||||
|
||||
Reference in New Issue
Block a user