Skip to content

Commit

Permalink
test BRH
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrbarnes committed Feb 22, 2024
1 parent de7b1c6 commit 4a335a4
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 11 deletions.
21 changes: 18 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@fontsource/montserrat": "^4.5.12",
"@fontsource/source-sans-pro": "^4.5.11",
"@graphiql/react": "^0.20.2",
"@gen3/core": "file:../core",
"@gen3/core": "@gen3/core",
"@iconify/react": "^4.0.1",
"@mantine/core": "^6.0.21",
"@mantine/form": "^6.0.21",
Expand Down
10 changes: 9 additions & 1 deletion packages/frontend/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,17 @@ const config = [
dir: 'dist',
format: 'esm',
name: 'gen3frontend',
plugins: [terser()],
globals,
sourcemap: true
}
},
{
dir: 'dist',
format: 'esm',
name: 'gen3Core',
globals,
sourcemap: true
},
],
external: [
...Object.keys(globals),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useAuthzContext } from '../Provider';

import { Button, Group, Stack, Tabs } from '@mantine/core';
import { User } from '../types';
import { UserDetails } from './Cards';
Expand All @@ -9,8 +9,6 @@ interface UserDetailsPanelProps {
}

const UserDetailsPanel = ({user, closePanel}: UserDetailsPanelProps) => {
const context = useAuthzContext();

return (
<Stack>
<Tabs defaultValue="user"
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/features/Authz/Users/UserPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useContext, useState } from 'react';
import { useState } from 'react';
import { useDeepCompareCallback } from 'use-deep-compare';
import UserTable from './UserTable';
import NewUserPanel from './NewUserPanel';
Expand Down
4 changes: 2 additions & 2 deletions packages/sampleCommons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"getDRSToHostname": "node ../../node_modules/@gen3/toolsff/dist/getDRSToHostname.esm.js --out=config/"
},
"dependencies": {
"@gen3/core": "file:../core",
"@gen3/frontend": "file:../frontend",
"@gen3/core": "@gen3/core",
"@gen3/frontend": "@gen3/frontend",
"@mdx-js/loader": "^3.0.0",
"@mdx-js/react": "^3.0.0",
"@next/mdx": "^14.1.0",
Expand Down

0 comments on commit 4a335a4

Please sign in to comment.