File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -452,6 +452,7 @@ export function updateFriendRequestButton(): void {
452452 button ?. classList . add ( "disabled" ) ;
453453 } else {
454454 button ?. classList . remove ( "disabled" ) ;
455+ button ?. classList . remove ( "hidden" ) ;
455456 }
456457}
457458const throttledEvent = throttle ( 1000 , ( ) => {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import * as TestActivity from "../elements/test-activity";
1212import { TestActivityCalendar } from "../elements/test-activity-calendar" ;
1313import { getFirstDayOfTheWeek } from "../utils/date-and-time" ;
1414import { addFriend } from "./friends" ;
15- import * as AuthEvent from "../observables/auth-event" ;
1615
1716const firstDayOfTheWeek = getFirstDayOfTheWeek ( ) ;
1817
@@ -287,10 +286,4 @@ export const page = new Page<undefined | UserProfile>({
287286 } ,
288287} ) ;
289288
290- AuthEvent . subscribe ( ( event ) => {
291- if ( event . type === "authStateChanged" ) {
292- Profile . updateFriendRequestButton ( ) ;
293- }
294- } ) ;
295-
296289Skeleton . save ( "pageProfile" ) ;
You can’t perform that action at this time.
0 commit comments