2021-06-18 00:52:21 +02:00
|
|
|
// @flow
|
|
|
|
import React from 'react';
|
|
|
|
import Nag from 'component/common/nag';
|
|
|
|
|
|
|
|
export default function NagNoUser() {
|
|
|
|
return (
|
|
|
|
<Nag
|
|
|
|
type="error"
|
2021-12-30 13:42:40 +01:00
|
|
|
message={__('Could not get a user ID. Account functions will be unavailable. Try again in a bit.')}
|
2021-06-18 00:52:21 +02:00
|
|
|
actionText={__('Refresh')}
|
|
|
|
onClick={() => window.location.reload()}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|