Skip to content

Commit

Permalink
fix: fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Расул authored and Расул committed Sep 19, 2023
1 parent 982dc8b commit a5c79ed
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7,883 deletions.
7,870 changes: 0 additions & 7,870 deletions build/assets/index-b3b20ef9.js

This file was deleted.

2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Second Brain</title>
<script type="module" crossorigin src="/assets/index-b3b20ef9.js"></script>
<script type="module" crossorigin src="/assets/index-afdcb0cc.js"></script>
<link rel="stylesheet" href="/assets/index-516c5c0e.css">
</head>
<body style="background: #000">
Expand Down
1 change: 0 additions & 1 deletion src/components/App/Providers/MuiButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const MuiButton = {
lineHeight: '8px',
cursor: 'pointer',
columnGap: '6px',
whiteSpace: 'nowrap',
'&:hover': {
background: colors.BUTTON1_HOVER,
color: colors.GRAY3,
Expand Down
1 change: 1 addition & 0 deletions src/components/App/Providers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const appTheme = createTheme({
typography: {
button: {
textTransform: 'none',
whiteSpace: 'nowrap',
},
},
breakpoints: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Table: React.FC<Props> = ({ data }) => {
</Flex>
) : (
<MaterialTable component="table">
<StyledTableHead component="thead">
<StyledTableHead>
<TableRow component="tr">
<StyledTableCell className="empty" />
<StyledTableCell>Type</StyledTableCell>
Expand All @@ -73,7 +73,7 @@ const Table: React.FC<Props> = ({ data }) => {
{data?.length && (
<tbody>
{data?.map((i: Sources) => (
<StyledTableRow key={i.source} component="tr">
<StyledTableRow key={i.source}>
<StyledTableCell className="empty" />
<StyledTableCell>{sourcesMapper[i.source_type]}</StyledTableCell>
<StyledTableCell width="268px">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const Table: React.FC<Props> = ({ data, canEdit = false }) => {
</StyledTableHead>
<TableBody component="tbody">
{data?.map((i: Sources) => (
<StyledTableRow key={i.source} component="tr">
<StyledTableRow key={i.source}>
<StyledTableCell className="empty" />
<StyledTableCell align="left">{sourcesMapper[i.source_type]}</StyledTableCell>
<StyledTableCell align="left">
Expand Down
8 changes: 1 addition & 7 deletions src/components/SourcesTableModal/SourcesView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,7 @@ export const SourcesView = () => {

return (
<Wrapper direction="column">
<StyledTabs
aria-label="basic tabs example"
component="div"
onChange={handleChange}
TabScrollButton={false}
value={value}
>
<StyledTabs aria-label="basic tabs example" onChange={handleChange} value={value}>
<StyledTab disableRipple label="Sources table" {...a11yProps(0)} />
<StyledTab color={colors.white} disableRipple label="Queued sources" {...a11yProps(1)} />
</StyledTabs>
Expand Down
2 changes: 1 addition & 1 deletion src/stores/useModalStore/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ModalStore = {

const defaultData = {
addNodeModalData: null,
currentModals: { addNode: false, budgetExplanation: false },
currentModals: { addNode: false, budgetExplanation: false, sourcesTable: false },
}

export const useModalStore = create<ModalStore>((set) => ({
Expand Down

0 comments on commit a5c79ed

Please sign in to comment.