Skip to content

Commit

Permalink
fix: add settings popover to user's dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyTeterin committed Apr 14, 2021
1 parent 182b8d2 commit 39654da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/UserDictionary/UserDictionary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { AppBar, Tab, Tabs, Typography, useTheme } from '@material-ui/core';
import UserDictionarySection from './UserDictionarySection';
import Header from '../Header';
import Footer from '../Footer';
import SettingsPopover from '../SettingsPopover';
import { fetchDictionary } from '../../store/actions/dictionaryActions';
import { IAppState } from '../../store/types';
import { TabPanelProps } from './types';
Expand Down Expand Up @@ -48,7 +49,7 @@ const UserDictionary: React.FC = () => {
<Header />
<main className={classes.main}>
<Typography variant="h5" className={classes.title}>
Мой словарь
Мой словарь <SettingsPopover />
</Typography>
{userData.userId ? (
<div className={classes.root}>
Expand Down
1 change: 1 addition & 0 deletions src/components/UserDictionary/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const useStyles = makeStyles((theme: Theme) => {
margin: '1rem 0',
textTransform: 'uppercase',
fontWeight: 500,
position: 'relative',
},
dictionary: {
display: 'flex',
Expand Down

0 comments on commit 39654da

Please sign in to comment.