chore: adjust styles

This commit is contained in:
DarkSky
2022-08-12 18:47:09 +08:00
parent b2b111f65e
commit ea865eb0aa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ const GitHub = (props: { center?: boolean; flat?: boolean }) => {
startIcon={<GitHubIcon />}
size="lg"
>
Check GitHub
{props.center ? 'Check ' : ''}GitHub
</Button>
);
};
@@ -24,7 +24,7 @@ export const LayoutHeader = () => {
const warningTips = useMemo(() => {
if (!fsApiSupported()) {
return 'Your browser does not support the local storage feature, please upgrade to the latest version of Chrome or Edge browser';
} else if (isLocalWorkspace) {
} else if (!isLocalWorkspace) {
return 'You are in DEMO mode. Changes will NOT be saved unless you SYNC TO DISK';
} else {
return 'AFFiNE is under active development and the current version is UNSTABLE. Please DO NOT store information or data';