Skip to content

Commit fa82795

Browse files
committed
fix: removing sticky copy for now to fix hydration issue
1 parent b689742 commit fa82795

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

components/singleDiff.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,11 @@
55
</p>
66
<div
77
:id="id"
8-
class="relative flex-1 px-4 py-2 border-2 rounded-md dark:border-gray-500 line-number-gutter min-h-80"
8+
class="relative flex-1 px-4 py-2 border-2 rounded-md dark:border-gray-500 line-number-gutter min-h-80"
99
:class="{
1010
'overflow-y-auto max-h-screen--nav': !isSrollInSyncEnabled,
1111
}"
1212
>
13-
<StickyCopy
14-
:aria-label="'Copy the content to clipboard'"
15-
:click-handler="copyTextToClipboard"
16-
/>
1713
<div
1814
v-for="(lineDiff, index) in diff"
1915
:key="index"
@@ -30,10 +26,8 @@
3026

3127
<script lang="ts">
3228
import Vue from 'vue'
33-
import StickyCopy from './buttons/stickyCopy.vue'
3429
import { putToClipboard } from '~/helpers/utils'
3530
export default Vue.extend({
36-
components: { StickyCopy },
3731
props: {
3832
diff: {
3933
type: Array,

0 commit comments

Comments
 (0)