File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
+ reactStrictMode : true ,
2
3
redirects ( ) {
3
4
return [
4
5
{
Original file line number Diff line number Diff line change @@ -793,21 +793,21 @@ function useSnapshots(
793
793
794
794
useLayoutEffect ( ( ) => {
795
795
if ( ! prevSnapshot ) {
796
- // debugger
796
+ const parent = ref . current !
797
797
setState ( s => ( {
798
798
...s ,
799
799
prevSnapshot : {
800
- ...getPanelSnapshot ( ref . current ! , prev ) ,
801
- ...getTabsSnapshot ( ref . current ! , prev ) ,
800
+ ...getPanelSnapshot ( parent , prev ) ,
801
+ ...getTabsSnapshot ( parent , prev ) ,
802
802
} ,
803
803
} ) )
804
804
} else if ( ! nextSnapshot ) {
805
- // debugger
805
+ const parent = ref . current !
806
806
setState ( s => ( {
807
807
...s ,
808
808
nextSnapshot : {
809
- ...getPanelSnapshot ( ref . current ! , next ) ,
810
- ...getTabsSnapshot ( ref . current ! , next ) ,
809
+ ...getPanelSnapshot ( parent , next ) ,
810
+ ...getTabsSnapshot ( parent , next ) ,
811
811
} ,
812
812
} ) )
813
813
}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export function CopyButton({
43
43
< path
44
44
strokeLinecap = "round"
45
45
strokeLinejoin = "round"
46
- strokeWidth = "2 "
46
+ strokeWidth = "1.6px "
47
47
d = "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
48
48
/>
49
49
) }
You can’t perform that action at this time.
0 commit comments