fix: Focus on empty document after creation

fix: Clicking in whitespace below document should focus
Remove unused component
This commit is contained in:
Tom Moor
2020-02-26 22:29:22 -08:00
parent dac2d43f55
commit f0afa67012
5 changed files with 22 additions and 50 deletions

View File

@@ -1,12 +1,13 @@
// @flow
import * as React from 'react';
import styled from 'styled-components';
import Mask from 'components/Mask';
import Fade from 'components/Fade';
import Flex from 'shared/components/Flex';
export default function LoadingPlaceholder(props: Object) {
return (
<Fade>
<Wrapper>
<Flex column auto {...props}>
<Mask height={34} />
<br />
@@ -14,6 +15,11 @@ export default function LoadingPlaceholder(props: Object) {
<Mask />
<Mask />
</Flex>
</Fade>
</Wrapper>
);
}
const Wrapper = styled(Fade)`
display: block;
margin: 40px 0;
`;