Skip to content

Commit

Permalink
chore: ci fixes
Browse files Browse the repository at this point in the history
- fix import files cases
- remove redundant ui dependency
  • Loading branch information
d-rita committed Dec 20, 2024
1 parent a80368b commit 25701be
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 695 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
},
"dependencies": {
"@dhis2/app-runtime": "^3.11.3",
"@dhis2/ui": "^10.1.0",
"prop-types": "^15.8.1"
}
}
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { FC } from 'react'
import { RouterProvider } from 'react-router-dom'
import AppWrapper from './components/AppWrapper'
import { router } from './routes/Router'
import AppWrapper from './components/appWrapper'
import { router } from './routes/router'

const App: FC = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useNavigate, useParams } from 'react-router-dom'
import classes from '../../App.module.css'
import NameSpaceLinks from '../namespaces/NamespacesLinks'
import DataStoreSelect from './DataStoreSelect'
import SearchField from './SearchField'
import SearchField from './searchField'

const Sidebar = () => {
const navigate = useNavigate()
Expand Down
2 changes: 1 addition & 1 deletion src/routes/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react'
import { Outlet } from 'react-router-dom'
import classes from '../App.module.css'
import EmptyArea from '../components/EmptyArea'
import Sidebar from '../components/sidebar/Sidebar'
import Sidebar from '../components/sidebar/sidebar'

function Layout() {
return (
Expand Down
6 changes: 3 additions & 3 deletions src/routes/router.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import { createHashRouter } from 'react-router-dom'
import KeysTable from '../components/keys/KeysTable'
import ErrorPage from '../pages/ErrorPage'
import Layout from './Layout'
import KeysTable from '../components/keys/keysTable'
import ErrorPage from '../pages/errorPage'
import Layout from './layout'

export const router = createHashRouter([
{
Expand Down
Loading

0 comments on commit 25701be

Please sign in to comment.