lbry-desktop/web/component/nag-no-user.jsx

15 lines
354 B
React
Raw Normal View History

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()}
/>
);
}