@@ -44,9 +42,9 @@ const Main = () => {
-
+
-
+
diff --git a/lattice/src/index.tsx b/lattice/src/index.tsx
index cc5626a9f..dccfe3cab 100644
--- a/lattice/src/index.tsx
+++ b/lattice/src/index.tsx
@@ -12,7 +12,7 @@ ReactDOM.render(
,
- document.getElementById("root")
+ document.getElementById('root')
);
// If you want your app to work offline and load faster, you can change
diff --git a/lattice/src/services/eventServices.tsx b/lattice/src/services/eventServices.tsx
index 2fdca224d..b2adcfd33 100644
--- a/lattice/src/services/eventServices.tsx
+++ b/lattice/src/services/eventServices.tsx
@@ -5,48 +5,48 @@ import { baseURL } from './baseURL';
const api = axios.create({
baseURL,
headers: {
- "Content-Type": "application/x-www-form-urlencoded",
- Accept: "application/json",
+ 'Content-Type': 'application/x-www-form-urlencoded',
+ Accept: 'application/json',
},
});
export const pilosa = {
get: {
status() {
- return api.get("/status");
+ return api.get('/status');
},
auth() {
- return api.get("/auth");
+ return api.get('/auth');
},
userinfo() {
- return api.get("/userinfo");
+ return api.get('/userinfo');
},
info() {
- return api.get("/info");
+ return api.get('/info');
},
version() {
- return api.get("/version");
+ return api.get('/version');
},
transactions() {
- return api.get("/ui/transaction");
+ return api.get('/ui/transaction');
},
transaction(id) {
return api.get(`/transaction/${id}`);
},
schema() {
- return api.get("/schema");
+ return api.get('/schema');
},
schemaDetails() {
- return api.get("/schema/details");
+ return api.get('/schema/details');
},
metrics() {
- return api.get("/metrics.json");
+ return api.get('/metrics.json');
},
usage() {
- return api.get("/ui/usage");
+ return api.get('/ui/usage');
},
queryHistory() {
- return api.get("/query-history");
+ return api.get('/query-history');
},
},
post: {
diff --git a/lattice/src/services/useAuth.tsx b/lattice/src/services/useAuth.tsx
index fd0f4ece1..0c94cb733 100644
--- a/lattice/src/services/useAuth.tsx
+++ b/lattice/src/services/useAuth.tsx
@@ -51,10 +51,10 @@ function useProvideAuth() {
// Authentication is off
setIsAuthOn(false);
} else {
- // Turn on Authentication
+ // Turn on Authentication
setIsAuthOn(true);
- if (res.data === "OK") {
+ if (res.data === 'OK') {
// User is authenticated
setIsAuthenticated(true);