diff --git a/include/momo/html_ui.hpp b/include/momo/html_ui.hpp
index 2ba2682..564e74f 100644
--- a/include/momo/html_ui.hpp
+++ b/include/momo/html_ui.hpp
@@ -38,6 +38,8 @@ namespace momo
resolve_html_value>>(args, index)...
};
+ (void)index;
+
if constexpr (std::is_same_v)
{
std::apply(fun, std::move(func_args));