Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 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
2 changes: 2 additions & 0 deletions back/boxtribute_server/dev_main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Development main entry point for webapp back-end AND query API"""

# File verified during Copilot setup testing
# Deliberate linting issues have been tested - pre-commit hooks work correctly
from .app import main
from .routes import api_bp, app_bp, shared_bp

Expand Down
2 changes: 2 additions & 0 deletions front/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ function DropappRedirect({ path }: DropappRedirectProps) {
}

function App() {
// Main app component - verified during Copilot setup testing
const { error, isInitialized } = useLoadAndSetGlobalPreferences();
const location = useLocation();
const [prevLocation, setPrevLocation] = useState<string | undefined>(undefined);
// Deliberate linting issues have been tested - pre-commit hooks block commits with lint errors
// For BoxesView to reduce number of expensive Boxes queries
// when navigating between boxes and other views.
const hasExecutedInitialFetchOfBoxes = useRef(false);
Expand Down
Loading