Skip to content

Commit

Permalink
refactor(prettier): prettify js files
Browse files Browse the repository at this point in the history
  • Loading branch information
XHunter committed Dec 20, 2023
1 parent f751663 commit b05c8b8
Show file tree
Hide file tree
Showing 7 changed files with 307 additions and 314 deletions.
1 change: 0 additions & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Use an official Node runtime as a base image
FROM node:16.14.0 as build
WORKDIR /app
COPY package*.json ./
Expand Down
4 changes: 2 additions & 2 deletions client/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 client/src/ErrorBoundary.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ class ErrorBoundary extends React.Component {
}

static getDerivedStateFromError(error) {
// logErrorToMyService(error);
return { hasError: true };
}

// Here we can add logger services
componentDidCatch(error, errorInfo) {
// logErrorToMyService(error, errorInfo);
this.errorMsg = error;
Expand Down
2 changes: 0 additions & 2 deletions client/src/content_option.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const BASE_URL = "https://api.xhunter.in";
// use in dev mode only
// const BASE_URL = "http://localhost:3006/";

const logotext = "XHUNTER";
const meta = {
Expand Down
Loading

0 comments on commit b05c8b8

Please sign in to comment.