lbry-desktop/web/component/nag-no-user.jsx
infinite-persistence 5aa6827258
NagNoUser i18n update
2021-12-30 20:42:53 +08:00

14 lines
354 B
JavaScript

// @flow
import React from 'react';
import Nag from 'component/common/nag';
export default function NagNoUser() {
return (
<Nag
type="error"
message={__('Could not get a user ID. Account functions will be unavailable. Try again in a bit.')}
actionText={__('Refresh')}
onClick={() => window.location.reload()}
/>
);
}