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