0
0
Fork 0
This commit is contained in:
xeltica 2021-09-24 02:27:46 +09:00
parent d7b77ee022
commit ce708b03aa
7 changed files with 24 additions and 38 deletions

View file

@ -3,7 +3,6 @@ import { alertModes } from '../../common/types/alert-mode';
import { IUser } from '../../common/types/user';
import { Visibility } from '../../common/types/visibility';
import { useGetSessionQuery } from '../services/session';
import { defaultTemplate } from '../../common/default-template';
import { Card } from './Card';
import { Theme, themes } from '../misc/theme';
import { API_ENDPOINT, LOCALSTORAGE_KEY_TOKEN } from '../const';
@ -141,6 +140,8 @@ export const SettingPage: React.VFC = () => {
}));
}, [dispatch]);
const defaultTemplate = t('_template.default');
return session.isLoading || !data ? (
<div className="skeleton" style={{width: '100%', height: '128px'}}></div>
) : (