fix: user info not be revived after refresh (#1157)

This commit is contained in:
Peng Xiao
2023-02-21 14:06:06 +08:00
committed by GitHub
parent 1731db833d
commit fd47fe3fc1
4 changed files with 13 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ export const WorkspaceAvatar = (props: IWorkspaceAvatar) => {
style={{ width: sizeStr, height: sizeStr }}
src={props.avatar}
alt=""
referrerPolicy="no-referrer"
/>
</picture>
</div>

View File

@@ -4,7 +4,6 @@ import { WorkspaceUnit } from '@affine/datacenter';
import { useTranslation } from '@affine/i18n';
export const ExportPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
const { t } = useTranslation();
console.log(workspace);
return (
<>
<Wrapper marginBottom="42px"> {t('Export Description')}</Wrapper>

View File

@@ -4,7 +4,7 @@ export const StyledSettingContainer = styled('div')(() => {
return {
display: 'flex',
flexDirection: 'column',
padding: '48px 0 20px 48px',
padding: '48px 0 0 48px',
height: 'calc(100vh - 60px)',
};
});