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

# File verified during Copilot setup testing
from .app import main
from .routes import api_bp, app_bp, shared_bp

Expand Down
1 change: 1 addition & 0 deletions front/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,13 @@
}

function App() {
// Main app component - verified during Copilot setup testing
const { error, isInitialized } = useLoadAndSetGlobalPreferences();
const location = useLocation();
const [prevLocation, setPrevLocation] = useState<string | undefined>(undefined);
// For BoxesView to reduce number of expensive Boxes queries
// when navigating between boxes and other views.

Check failure on line 102 in front/src/App.tsx

View workflow job for this annotation

GitHub Actions / copilot

'unusedVariable' is assigned a value but never used
const hasExecutedInitialFetchOfBoxes = useRef(false);

Check failure on line 103 in front/src/App.tsx

View workflow job for this annotation

GitHub Actions / copilot

'anotherVariable' is assigned a value but never used

// store previous location to return to if you are not authorized
useEffect(() => {
Expand Down