File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -67,21 +67,20 @@ export function VueFireAppCheck(options: VueFireAppCheckOptions) {
6767 }
6868}
6969
70+ // TODO: remove this as getAppCheck() already kinda does this
7071/**
7172 * To retrieve the current app check
7273 * @internal
7374 */
7475export const AppCheckMap = new WeakMap < FirebaseApp , AppCheck > ( )
7576
76- // TODO: this should be available on the server too
7777/**
78- * Retrieves the Firebase App Check instance. Note this is only available on the client and will be `undefined` on the
79- * server.
78+ * Retrieves the Firebase App Check instance.
8079 *
8180 * @param name - name of the application
8281 */
8382export function useAppCheck ( name ?: string ) {
84- return AppCheckMap . get ( useFirebaseApp ( name ) )
83+ return AppCheckMap . get ( useFirebaseApp ( name ) ) !
8584}
8685
8786/**
You can’t perform that action at this time.
0 commit comments