This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { makeStyles } from '@material-ui/core/styles'; | |
import Box from '@material-ui/core/Box'; | |
import Container from '@material-ui/core/Container'; | |
import Grid from '@material-ui/core/Grid'; | |
import NavBreadcrumbs from './NavBreadcrumbs'; | |
import TitleSection from './TitleSection'; | |
const useStyles = makeStyles({ | |
addPad: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date: Sat, 31 Jul 2021 09:05:48 -0700 | |
Subject: [PATCH] Declare classes in a component rather than pass them as props | |
--- | |
src/pages/TagCreator/TopicTagSection.js | 13 +++++++------ | |
1 file changed, 7 insertions(+), 6 deletions(-) | |
diff --git a/src/pages/TagCreator/TopicTagSection.js b/src/pages/TagCreator/TopicTagSection.js | |
index 3c92fd4..fb8d29a 100644 | |
--- a/src/pages/TagCreator/TopicTagSection.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react'; | |
import Box from '@material-ui/core/Box'; | |
import Button from '@material-ui/core/Button'; | |
import FormControl from '@material-ui/core/FormControl'; | |
import InputLabel from '@material-ui/core/InputLabel'; | |
import MenuItem from '@material-ui/core/MenuItem'; | |
import Select from '@material-ui/core/Select'; | |
import Typography from '@material-ui/core/Typography'; | |
import FilterListIcon from '@material-ui/icons/FilterList'; | |
import { makeStyles } from '@material-ui/styles'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "ctrl+1", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "-workbench.action.focusFirstEditorGroup" | |
}, | |
{ |
OlderNewer