MCPcopy Create free account
hub / github.com/async-labs/async / toggleThemeStoreMethod

Method toggleThemeStoreMethod

app/lib/store/User.ts:556–565  ·  view source on GitHub ↗
({
    showDarkTheme,
    teamId,
  }: {
    showDarkTheme: boolean;
    teamId: string;
  })

Source from the content-addressed store, hash-verified

554 }
555
556 public async toggleThemeStoreMethod({
557 showDarkTheme,
558 teamId,
559 }: {
560 showDarkTheme: boolean;
561 teamId: string;
562 }) {
563 this.showDarkTheme = showDarkTheme;
564 await toggleThemeApiMethod({ showDarkTheme, teamId });
565 }
566
567 public async createNewTeamStoreMethod({
568 teamName,

Callers 1

MyAccountPageClass · 0.80

Calls 1

toggleThemeApiMethodFunction · 0.90

Tested by

no test coverage detected