Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/components/Layout/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import { AiOutlineMenu, AiOutlineLogout, AiFillTool, AiOutlineVideoCamera as AiO
import logo from '../../assets/trvise_logo.png';
import { getApiUrl } from '../pages/createsteps helpers/CreateStepsUtils';

// Chrome detection
const isChrome = typeof window !== 'undefined' && /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);

const Sidebar = ({ isCollapsed, toggleSidebar, animateLogo }) => {
const navigate = useNavigate();
const location = useLocation();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const formatDate = (dateString) => {

// API utility functions
export const getApiUrl = () => {
// Always return the production URL, ignoring any local environment variables.
return 'https://pbsggxqwqp.us-east-1.awsapprunner.com';
};

Expand Down
Loading