Skip to content

Commit

Permalink
chore: help info
Browse files Browse the repository at this point in the history
  • Loading branch information
mstephen19 committed Jul 30, 2024
1 parent ed070d9 commit d15e810
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/popup/Accordions/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
ListItemText,
Typography,
} from '@mui/material';
import type { ReactNode } from 'react';
import { memo, type ReactNode } from 'react';

const InfoCard = ({
title,
Expand Down Expand Up @@ -40,12 +40,13 @@ const InfoCard = ({
);
};

export const Help = () => {
export const Help = memo(() => {
return (
<Box sx={{ gap: '10px', display: 'flex', flexDirection: 'column' }}>
<InfoCard
title='What is the message sequence?'
subheader='A list of messages created by you. Sent one-by-one to each connection.'
content={<Typography>Tip: Double-click a message in the sequence to edit it.</Typography>}
/>

<InfoCard title='How many tabs can run simultaneously?' subheader='One.' />
Expand Down Expand Up @@ -140,4 +141,4 @@ export const Help = () => {
/>
</Box>
);
};
});

0 comments on commit d15e810

Please sign in to comment.