Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
terahlunah committed Feb 23, 2024
1 parent 28f909c commit 3dc0512
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
23 changes: 11 additions & 12 deletions src/index.css → src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@
@apply border-2 border-green-500
}

@variants responsive {
/* Hide scrollbar for Chrome, Safari, and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}


/* Hide scrollbar for IE, Edge, and Firefox */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari, and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}


/* Hide scrollbar for IE, Edge, and Firefox */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}

}
8 changes: 4 additions & 4 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import {App} from './App.tsx'
import './index.css'
import './main.css'

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
</React.StrictMode>,
<React.StrictMode>
<App/>
</React.StrictMode>,
)
4 changes: 2 additions & 2 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {useParams} from 'react-router-dom'
// import {useParams} from 'react-router-dom'
import {Linear} from "../components/Linear.tsx";
import {Guide} from "../panels/Guide.tsx";
import {Configuration} from "../panels/Configuration.tsx";
import {Generator} from "../panels/Generator.tsx";

export const Home = () => {
export const Home = () => {

// const params = useParams();

Expand Down

0 comments on commit 3dc0512

Please sign in to comment.