fix: @flecks/web/client.up hook check

This commit is contained in:
cha0s 2024-02-18 05:29:57 -06:00
parent 531b8900da
commit ea99829685

View File

@ -1,6 +1,6 @@
export const hooks = { export const hooks = {
'@flecks/core.hmr.hook': (hook) => { '@flecks/core.hmr.hook': (hook) => {
if ('@flecks/web/client.up' !== hook) { if ('@flecks/web/client.up' === hook) {
throw new Error('@flecks/web/client.up implementation changed!'); throw new Error('@flecks/web/client.up implementation changed!');
} }
}, },