Setting the type to number for log_lvl.
This commit is contained in:
@@ -6,7 +6,7 @@ import { browser } from '$app/environment';
|
||||
import { archives_func } from '$lib/ae_archives/ae_archives_functions';
|
||||
|
||||
export async function load({ fetch, params, parent }) { // route
|
||||
let log_lvl = 0;
|
||||
let log_lvl: number = 0;
|
||||
|
||||
let data = await parent();
|
||||
data.log_lvl = log_lvl;
|
||||
|
||||
Reference in New Issue
Block a user