Skip to content

Commit

Permalink
remove pageTitle update from mount. handleParams makes it redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
floodfx committed Feb 16, 2022
1 parent 06feefe commit d66a4e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/examples/servers/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export class ServersLiveViewComponent extends BaseLiveViewComponent<ServersConte
mount(params: LiveViewMountParams, session: Partial<SessionData>, socket: LiveViewSocket<ServersContext>): ServersContext {
const servers = listServers();
const selectedServer = servers[0];
socket.pageTitle(`Servers - ${selectedServer.name}`);
return { servers, selectedServer };
}

Expand Down

0 comments on commit d66a4e0

Please sign in to comment.