mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-12 12:22:13 +00:00
12 lines
401 B
JavaScript
12 lines
401 B
JavaScript
|
import React from 'react';
|
||
|
import { gettext, loginUrl } from '../utils/constants';
|
||
|
|
||
|
function SessionExpiredTip() {
|
||
|
return(
|
||
|
<span className="session-expired-tip">{gettext('You are log out.')}{' '}
|
||
|
<a className="action-link session-expired-link" href={`${loginUrl}?next=${encodeURIComponent(location.href)}`}>{gettext('Login again.')}</a>
|
||
|
</span>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default SessionExpiredTip
|