Skip to content

Commit

Permalink
fix: some live fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine RICHARD committed Oct 14, 2024
1 parent 87405ea commit 0296fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Search from '@/components/Search';

import employeesData from '@/data/employees.json';

const Employees = async ({ searchParams }: { searchParams: { search?: string } }) => {
const Employees = ({ searchParams }: { searchParams: { search?: string } }) => {
const search = searchParams.search || '';
const employees = employeesData.filter((employee) =>
`${employee.firstname} ${employee.lastname}`.toLowerCase().includes(search.toLowerCase())
Expand Down
2 changes: 1 addition & 1 deletion steps/03.02-composition/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
darkMode: 'selector',
// darkMode: 'selector',
theme: {
extend: {},
},
Expand Down

0 comments on commit 0296fdb

Please sign in to comment.