v1.6.1
Patch Changes
-
#42
81ac274Thanks @flyon! - Stripped@_linked/authfrom the default scaffold. It was wired in (<ProvideAuth>inApp.tsx,RequireAuthimport inroutes.tsx) but no signin provider was configured, so it did nothing — while still dragging the entire legacylincd-*chain (foaf,lincd-input,lincd-mui-base,lincd-rdfs,lincd-sioc) into the dep tree and crashing on startup withError: Multiple versions of LINCD are loaded(bothlincd@1.0.3and@_linked/coreclaim the sameglobalThis.lincdkey).To add sign-in back:
yarn add @_linked/auth, wrap<AppRoutes/>in<ProvideAuth>, importRequireAuth, setrequireAuth: trueon the route you want protected. Inline comments inApp.tsxandroutes.tsxshow where.