mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-17 14:37:58 +00:00
12 lines
389 B
JavaScript
12 lines
389 B
JavaScript
import React from 'react';
|
|
import { gettext, loginUrl } from '../utils/constants';
|
|
|
|
function PermissionDeniedTip() {
|
|
return(
|
|
<span className="error">{gettext('Permission denied. Please try')}{' '}
|
|
<a className="action-link p-0" href={`${loginUrl}?next=${encodeURIComponent(location.href)}`}>{gettext('login again.')}</a>
|
|
</span>
|
|
);
|
|
}
|
|
|
|
export default PermissionDeniedTip; |