It seems you have an extra comma here:
self.authenticationdidfail = false;, self.isshowingWarehouseView = true
Replace with:
self.authenticationdidfail = false; self.isshowingWarehouseView = true
Note: names should be camelCase, as authenticationDidFail for better readability.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: