Skip to content

Commit 8edc4c9

Browse files
committed
Emotion added to build
1 parent 70d80fc commit 8edc4c9

File tree

5 files changed

+11
-104
lines changed

5 files changed

+11
-104
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
"vitest": "^3.2.4"
133133
},
134134
"dependencies": {
135+
"@emotion/css": "^11.13.5",
135136
"@leafygreen-ui/table": "^15.2.2",
136137
"@mcp-ui/server": "^5.13.1",
137138
"@modelcontextprotocol/sdk": "^1.24.2",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { css } from "@emotion/css";
2+
3+
export const tableStyles = css`
4+
background: white;
5+
`;

src/ui/components/ListDatabases/ListDatabases.styles.tsx

Lines changed: 0 additions & 103 deletions
This file was deleted.

src/ui/components/ListDatabases/ListDatabases.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
TableBody,
1111
TableHead,
1212
} from "@leafygreen-ui/table";
13+
import { tableStyles } from "./ListDatabases.styles.js";
1314

1415
// Cast components to fix incorrect type definitions in @leafygreen-ui/table
1516
// The library types these as (props, ref) => ReactElement, but JSX expects (props) => ReactElement
@@ -64,7 +65,7 @@ export const ListDatabases = () => {
6465
}
6566

6667
return (
67-
<Table>
68+
<Table className={tableStyles}>
6869
<TableHead>
6970
<HeaderRow>
7071
<HeaderCell>DB Name</HeaderCell>

0 commit comments

Comments
 (0)