Skip to content

Commit b463894

Browse files
author
Alexis
committed
chore: fix storybook hmr
1 parent ad4f5df commit b463894

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.storybook/preview-head.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<script>
2+
// https://github.com/pmmmwh/react-refresh-webpack-plugin/issues/176#issuecomment-683150213
3+
window.$RefreshReg$ = () => {};
4+
window.$RefreshSig$ = () => () => {};
5+
</script>

0 commit comments

Comments
 (0)