mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 10:22:46 +00:00
@@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import { siteRoot, gettext } from '../../utils/constants';
|
||||
import { gettext, logoutUrl } from '../../utils/constants';
|
||||
|
||||
export default function Logout() {
|
||||
return (
|
||||
<a className="logout-icon" href={`${siteRoot}accounts/logout/`} title={gettext('Log out')}>
|
||||
<a className="logout-icon" href={logoutUrl} title={gettext('Log out')}>
|
||||
<i className="sf3-font sf3-font-logout" style={{fontSize: '24px'}}></i>
|
||||
</a>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user