File tree Expand file tree Collapse file tree 4 files changed +8
-131
lines changed Expand file tree Collapse file tree 4 files changed +8
-131
lines changed Original file line number Diff line number Diff line change 1+ const email = "[email protected] " ; 2+ const password = "yadayada" ;
3+
14// [START register_sw]
25// Install servicerWorker if supported on sign-in/sign-up page.
36if ( 'serviceWorker' in navigator ) {
Original file line number Diff line number Diff line change 66 },
77 "license" : " Apache-2.0" ,
88 "dependencies" : {
9- "firebase" : " ^10.0.0"
9+ "firebase" : " ^10.0.0" ,
10+ "next" : " ^14.1.3"
1011 }
1112}
Original file line number Diff line number Diff line change 11import { headers } from 'next/headers' ;
2+ // @ts -expect-error this is not in the firebase js sdk yet
23import { initializeServerApp } from 'firebase/app' ;
34import { getAuth } from 'firebase/auth' ;
45import { redirect } from 'next/navigation' ;
56
7+ const config = { } ;
8+
69// [START server_client]
710export default async function MyServerComponent ( { params } ) {
811
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments