f05cfd0cf8
* Refactor: migrate waitingUserPanel to TS and graphql * Small code improvements * Fix: allow everyone aren't working * Fix: add a condition for edge cases * Make the remember choice works well * Fix TS and eslint errors * Change eslint * Change eslint
13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
import React from 'react';
|
|
import Styled from '../styles';
|
|
|
|
const renderNoUserWaitingItem = (message: string) => (
|
|
<Styled.PendingUsers>
|
|
<Styled.NoPendingUsers>
|
|
{message}
|
|
</Styled.NoPendingUsers>
|
|
</Styled.PendingUsers>
|
|
);
|
|
|
|
export default renderNoUserWaitingItem;
|