Skip to content

Commit f27e3b0

Browse files
committed
Update dependencies and fix lint issues in demos.
1 parent 5477842 commit f27e3b0

File tree

10 files changed

+420
-316
lines changed

10 files changed

+420
-316
lines changed

demos/supabase-anonymous-auth/pubspec.lock

Lines changed: 102 additions & 78 deletions
Large diffs are not rendered by default.

demos/supabase-edge-function-auth/lib/widgets/login_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class _LoginPageState extends State<LoginPage> {
3434
await Supabase.instance.client.auth.signInWithPassword(
3535
email: _usernameController.text, password: _passwordController.text);
3636

37-
if (mounted) {
37+
if (context.mounted) {
3838
Navigator.of(context).pushReplacement(MaterialPageRoute(
3939
builder: (context) => homePage,
4040
));

demos/supabase-edge-function-auth/lib/widgets/signup_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class _SignupPageState extends State<SignupPage> {
3434
final response = await Supabase.instance.client.auth.signUp(
3535
email: _usernameController.text, password: _passwordController.text);
3636

37-
if (mounted) {
37+
if (context.mounted) {
3838
if (response.session != null) {
3939
Navigator.of(context).pushReplacement(MaterialPageRoute(
4040
builder: (context) => homePage,

0 commit comments

Comments
 (0)