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 11module . exports = {
2+ reactStrictMode : true ,
23 redirects ( ) {
34 return [
45 {
Original file line number Diff line number Diff line change @@ -793,21 +793,21 @@ function useSnapshots(
793793
794794 useLayoutEffect ( ( ) => {
795795 if ( ! prevSnapshot ) {
796- // debugger
796+ const parent = ref . current !
797797 setState ( s => ( {
798798 ...s ,
799799 prevSnapshot : {
800- ...getPanelSnapshot ( ref . current ! , prev ) ,
801- ...getTabsSnapshot ( ref . current ! , prev ) ,
800+ ...getPanelSnapshot ( parent , prev ) ,
801+ ...getTabsSnapshot ( parent , prev ) ,
802802 } ,
803803 } ) )
804804 } else if ( ! nextSnapshot ) {
805- // debugger
805+ const parent = ref . current !
806806 setState ( s => ( {
807807 ...s ,
808808 nextSnapshot : {
809- ...getPanelSnapshot ( ref . current ! , next ) ,
810- ...getTabsSnapshot ( ref . current ! , next ) ,
809+ ...getPanelSnapshot ( parent , next ) ,
810+ ...getTabsSnapshot ( parent , next ) ,
811811 } ,
812812 } ) )
813813 }
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export function CopyButton({
4343 < path
4444 strokeLinecap = "round"
4545 strokeLinejoin = "round"
46- strokeWidth = "2 "
46+ strokeWidth = "1.6px "
4747 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"
4848 />
4949 ) }
You can’t perform that action at this time.
0 commit comments