MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / clearRandom

Function clearRandom

frontend/src/ts/controllers/theme-controller.ts:242–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240}
241
242async function clearRandom(): Promise<void> {
243 if (randomTheme === null) return;
244 randomTheme = null;
245 if (Config.customTheme) {
246 await apply("custom");
247 } else {
248 await apply(Config.theme);
249 }
250}
251
252function applyCustomBackgroundSize(): void {
253 if (Config.customBackgroundSize === "max") {

Callers 1

Calls 1

applyFunction · 0.70

Tested by

no test coverage detected