Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

Bug fix.

Danielebc11a82befd
diff --git a/src/App.js b/src/App.js
index 0889897d..170a03d1 100644
--- a/src/App.js
+++ b/src/App.js
@@ -26,7 +26,7 @@ function App() {
[lightMode, setLightMode] = useState(localStorage.getItem('light-mode') === 'true');
function SetLoader(x) {
- setLoader(x)
+ setLoader(x);
}
function handleNameCheckbox() {
@@ -82,16 +82,6 @@ function App() {
setNumberOfResults(filteredData.length);
}, [filteredData]);
- // useEffect(() => {
- // const isLight = localStorage.getItem("light-mode");
-
- // if (JSON.parse(isLight)) {
- // setLightMode(true);
- // } else {
- // setLightMode(false);
- // }
- // }, []);
-
useEffect(() => {
if (lightMode) {
document.body.classList.add("light");
diff --git a/src/config.js b/src/config.js
index eacfbab6..e5c1bd79 100644
--- a/src/config.js
+++ b/src/config.js
@@ -1,6 +1,6 @@
module.exports = {
"API": {
- "ADDRESS": "http://localhost",
+ "ADDRESS": "http://192.168.1.7",
"PORT": 5000,
"MONGODB_URI": "mongodb://localhost:27017",
"DB_NAME": "sample_db",
diff --git a/src/styles/index.css b/src/styles/index.css
index e446494c..f3981424 100644
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -12,7 +12,7 @@ body {
}
*::selection {
- background-color: rgba(120, 120, 120, 0.9);
+ background-color: rgba(78, 78, 78, 0.9);
color: white;
text-shadow: none;
}