Skip to content
Snippets Groups Projects
Unverified Commit 83d3fd73 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Avoid prop shorthand in the database/schema/table browser (#17559)

parent 6d0bb151
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ function DatabaseBrowser({ databases }) {
<Grid>
{databases.map(database => (
<GridItem w={ITEM_WIDTHS} key={database.id}>
<GridItem width={ITEM_WIDTHS} key={database.id}>
<Link
to={Urls.browseDatabase(database)}
data-metabase-event={`${ANALYTICS_CONTEXT};Database Click`}
......
......@@ -47,7 +47,7 @@ function SchemaBrowser(props) {
) : (
<Grid>
{schemas.map(schema => (
<GridItem w={ITEM_WIDTHS} key={schema.id}>
<GridItem width={ITEM_WIDTHS} key={schema.id}>
<Link
to={`/browse/${dbId}/schema/${schema.name}`}
mb={1}
......
......@@ -82,7 +82,7 @@ function TableBrowser(props) {
// NOTE: don't clean since we might not have all the metadata loaded?
metadataTable.newQuestion().getUrl({ clean: false });
return (
<GridItem w={ITEM_WIDTHS} key={table.id}>
<GridItem width={ITEM_WIDTHS} key={table.id}>
<Card hoverable px={1} className="hover-parent hover--visibility">
<Link
to={link}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment