From fdae5d628ebb10a5a0f9084479965685a59c55e8 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Mon, 23 Dec 2024 13:58:43 +0900 Subject: [PATCH] chore(examples/demo): reflect 'eslint . --fix' changes based on main 'eslint.config.mjs' --- examples/demo/src/utils/copy-to-clipboard.js | 2 -- examples/demo/vite.config.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/demo/src/utils/copy-to-clipboard.js b/examples/demo/src/utils/copy-to-clipboard.js index af69faffab..2fcaecbc36 100644 --- a/examples/demo/src/utils/copy-to-clipboard.js +++ b/examples/demo/src/utils/copy-to-clipboard.js @@ -1,5 +1,3 @@ -/*global navigator */ - export const copyToClipboard = (str) => { return navigator.clipboard.writeText(str) } diff --git a/examples/demo/vite.config.js b/examples/demo/vite.config.js index 861b04b356..5e5b6eef62 100644 --- a/examples/demo/vite.config.js +++ b/examples/demo/vite.config.js @@ -1,5 +1,5 @@ -import { defineConfig } from 'vite' import react from '@vitejs/plugin-react-swc' +import { defineConfig } from 'vite' // https://vitejs.dev/config/ export default defineConfig({