Creating a hook/component
Answered
πππππ£πππ posted this in #help-forum
I'm trying to create a new component for next.js/react app, and i'm facing some issues...
Code: https://pastebin.com/edit/ZiTBpUhg
Error:
Code: https://pastebin.com/edit/ZiTBpUhg
Error:
Answered by averydelusionalperson
@πππππ£πππ hello, can you share the component file?
68 Replies
sorry lmao, going for namaz
see you after 15 mins
@πππππ£πππ hello, can you share the component file?
Answer
Component file?
Action?
can you share it here? the site is kinda banned in our company
ohh, k
btw it is my selfhosted thing, and i'm too lazy to enable the https
pastebin works for you?
export default ActionAllPackages();you should not use brackets while exporting
just
export default ActionAllPackages;??
yay, it works
can you mark the message as solution?
can you show your project files?
all of them?
Giant panda
can you please remove that site
Original message was deleted
that one?
Giant panda
yes
ok but why?
@πππππ£πππ Click to see attachment
try restarting the server
Giant panda
unsafe link
i need to learn about https on docker containers
the same thing
Giant panda
https://pastebin.com/ZiTBpUhg where is your hook
@Giant panda https://pastebin.com/ZiTBpUhg where is your hook
there is no hook, he just kept it at that path
it just worked, and then i'm added the another option for context menu, and it is not working now(
Giant panda
that path is confusing
i copy pasted this section from old
columns.tsx, before moving it to actionsI don't see anything new, it's same as you shared in the pastebin
?
yeah, because i chaned it in pastebin
click
diffuhm
there is no diff
strange
@averydelusionalperson ?
Uhm, i fixed it
just
undo, and then modified only that section instead of all requirelol
now
paket is undefinedugh sed
you're passing paket in the columns.tsx right?
sorry man, gotta go home, bye, hope you fix this
sya man, thx for all
🫑
ok i fixed it, thxxx
🫑